adds universal timeoutmsgbox
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
#include "timeoutmsgboximpl.h"
|
||||
#include "session.h"
|
||||
|
||||
timeoutMsgBoxImpl::timeoutMsgBoxImpl(QDialog *parent, Session *s, int id)
|
||||
: QMessageBox(parent), mySession(s), msgId(id)
|
||||
timeoutMsgBoxImpl::timeoutMsgBoxImpl(QDialog *parent, int id)
|
||||
: QMessageBox(parent), mySession(NULL), msgId(id)
|
||||
{
|
||||
okButton = this->addButton(QMessageBox::Ok);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class timeoutMsgBoxImpl : public QMessageBox
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
timeoutMsgBoxImpl(QDialog*, Session*, int);
|
||||
timeoutMsgBoxImpl(QDialog*, int);
|
||||
|
||||
~timeoutMsgBoxImpl();
|
||||
|
||||
@@ -35,6 +35,8 @@ public slots:
|
||||
void startTimeout();
|
||||
void timerRefresh();
|
||||
|
||||
void setMySession ( Session* theValue ) { mySession = theValue; }
|
||||
|
||||
private:
|
||||
|
||||
QTimer *timeOutTimer;
|
||||
|
||||
Reference in New Issue
Block a user