#include <QtGui/qmenubar.h> #ifndef QMENUBAR_H #ifndef QT_NO_MENUBAR class QMenuBar: public QWidget{ /* Some contents are skipped to improve readability */ public: explicit QMenuBar(class QWidget* parent = 0); /* ... */ }; #endif // QT_NO_MENUBAR #endif // QMENUBAR_H