#include <QtCore/qobject.h> #ifndef QOBJECT_H #ifndef QT_NO_QOBJECT class QObject{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_USERDATA public: class QObjectUserData* userData(uint id) const #endif // QT_NO_USERDATA /* ... */ }; #endif #endif // QOBJECT_H