k-observer/K-observer_client_qt/customtimer.h

21 lines
362 B
C
Raw Normal View History

2013-01-19 21:55:39 +00:00
#ifndef CUSTOMTIMER_H
#define CUSTOMTIMER_H
#include <QTimer>
#include <QTimerEvent>
#include "UserInfo.h"
class CustomTimer : public QTimer
{
Q_OBJECT
public:
explicit CustomTimer(QObject *parent = 0);
boost::signal<void()> TimerSignal;
protected:
virtual void timerEvent ( QTimerEvent * e );
};
#endif // CUSTOMTIMER_H