#include <QtCore/qobject.h> #ifndef QOBJECT_H #ifndef QT_NO_QOBJECT class QObject{ /* Some contents are skipped to improve readability */ public: virtual bool event(struct QEvent*); /* ... */ }; #endif #endif // QOBJECT_H