#include <QtGui/qstatusbar.h> #ifndef QSTATUSBAR_H #ifndef QT_NO_STATUSBAR class QStatusBar: public QWidget{ /* Some contents are skipped to improve readability */ public: void addPermanentWidget(class QWidget* widget, int stretch = 0); /* ... */ }; #endif // QT_NO_STATUSBAR #endif // QSTATUSBAR_H