#include <QtCore/qcoreevent.h> #ifndef QCOREEVENT_H class QTimerEvent: public QEvent{ public: QTimerEvent(int timerId); public: virtual ~QTimerEvent(); public: inline int timerId() const protected: int id; }; #endif // QCOREEVENT_H