#include <QtCore/qobject.h> #ifndef QOBJECT_H #ifndef QT_NO_QOBJECT class QObject{ /* Some contents are skipped to improve readability */ protected: class QObjectData* d_ptr; /* ... */ }; #endif #endif // QOBJECT_H