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