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