#include <QtGui/qmenubar.h> #ifndef QMENUBAR_H #ifndef QT_NO_MENUBAR class QMenuBar: public QWidget{ /* Some contents are skipped to improve readability */ public: void setCornerWidget(class QWidget* w, enum Qt::Corner corner = Qt::TopRightCorner); /* ... */ }; #endif // QT_NO_MENUBAR #endif // QMENUBAR_H