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