#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 resizeEvent(struct QResizeEvent*); /* ... */ }; #endif // QT_NO_STATUSBAR #endif // QSTATUSBAR_H