#include <QtGui/qprogressbar.h> #ifndef QPROGRESSBAR_H #ifndef QT_NO_PROGRESSBAR class QProgressBar: public QWidget{ /* Some contents are skipped to improve readability */ public: enum Direction{ /* ... */ BottomToTop = 1, /* ... */ }; /* ... */ }; #endif // QT_NO_PROGRESSBAR #endif // QPROGRESSBAR_H