#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H class QStyleOption{ /* Some contents are skipped to improve readability */ public: enum OptionType{ /* ... */ SO_SpinBox = 983042, /* ... */ }; /* ... */ }; #endif // QSTYLEOPTION_H