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