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