#include <QtCore/qobject.h> #ifndef QOBJECT_H #ifndef QT_NO_QOBJECT class QObject{ /* Some contents are skipped to improve readability */ public: void setObjectName(class QString const & name); /* ... */ }; #endif #endif // QOBJECT_H