#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H #ifndef QT_NO_TABBAR class QStyleOptionTab: public QStyleOption{ /* Some contents are skipped to improve readability */ public: enum SelectedPosition{ NotAdjacent = 0, NextIsSelected = 1, PreviousIsSelected = 2, }; /* ... */ }; #endif #endif // QSTYLEOPTION_H