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