#include <QtGui/qstatusbar.h> #ifndef QSTATUSBAR_H #ifndef QT_NO_STATUSBAR class QStatusBar: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual void paintEvent(struct QPaintEvent*); /* ... */ }; #endif // QT_NO_STATUSBAR #endif // QSTATUSBAR_H