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