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