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