#include <QtGui/qmenubar.h> #ifndef QMENUBAR_H #ifndef QT_NO_MENUBAR class QMenuBar: public QWidget{ /* Some contents are skipped to improve readability */ public: virtual int qt_metacall(enum QMetaObject::Call, int, void* *); /* ... */ }; #endif // QT_NO_MENUBAR #endif // QMENUBAR_H