#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H class QStyleOptionProgressBar: public QStyleOption{ /* Some contents are skipped to improve readability */ public: enum StyleOptionType{ /* ... */ Type = 6, /* ... */ }; /* ... */ }; #endif // QSTYLEOPTION_H