#include <QtGui/qmenubar.h> #ifndef QMENUBAR_H #ifndef QT_NO_MENUBAR class QMenuBar: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual void changeEvent(struct QEvent*); /* ... */ }; #endif // QT_NO_MENUBAR #endif // QMENUBAR_H