#include <QtCore/qcoreevent.h> #ifndef QCOREEVENT_H class QTimerEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: virtual ~QTimerEvent(); /* ... */ }; #endif // QCOREEVENT_H