#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H class QStyleOptionProgressBarV2: public QStyleOptionProgressBar{ /* Some contents are skipped to improve readability */ public: enum Qt::Orientation orientation; /* ... */ }; #endif // QSTYLEOPTION_H