#include <QtGui/qstatusbar.h> #ifndef QSTATUSBAR_H #ifndef QT_NO_STATUSBAR class QStatusBar: public QWidget{ /* Some contents are skipped to improve readability */ public: class QString currentMessage() const /* ... */ }; #endif // QT_NO_STATUSBAR #endif // QSTATUSBAR_H