#include <QtGui/qmenubar.h> #ifndef QMENUBAR_H #ifndef QT_NO_MENUBAR class QMenuBar: public QWidget{ /* Some contents are skipped to improve readability */ public: class QRect actionGeometry(class QAction*) const /* ... */ }; #endif // QT_NO_MENUBAR #endif // QMENUBAR_H