#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H #ifndef QT_NO_TABBAR class QStyleOptionTabBarBase: public QStyleOption{ /* Some contents are skipped to improve readability */ public: enum StyleOptionVersion{ Version = 1, }; /* ... */ }; #endif #endif // QSTYLEOPTION_H