This commit is contained in:
doitux
2008-03-03 10:27:36 +00:00
parent b0fada7537
commit 6d45e97e77
2 changed files with 104 additions and 0 deletions
@@ -0,0 +1,47 @@
//
// C++ Interface: opengametimeoutmsgboximpl
//
// Description:
//
//
// Author: Felix Hammer <f.hammer@web.de>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TIMEOUTMSGBOXIMPL_H
#define TIMEOUTMSGBOXIMPL_H
#include <QMessageBox>
#include <QtGui>
#include <QtCore>
#include <core/boost/timers.hpp>
/**
@author Felix Hammer <f.hammer@web.de>
*/
class Session;
class timeoutMsgBoxImpl : public QMessageBox
{
Q_OBJECT
public:
timeoutMsgBoxImpl(QDialog*, Session*, int);
~timeoutMsgBoxImpl();
public slots:
void startTimeout();
void timerRefresh();
private:
QTimer *timeOutTimer;
QPushButton *okButton;
Session *mySession;
int msgId;
boost::timers::portable::microsec_timer realTimer;
};
#endif