#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H #ifndef QT_NO_TABWIDGET class QStyleOptionTabWidgetFrame: public QStyleOption{ /* Some contents are skipped to improve readability */ public: class QSize rightCornerWidgetSize; /* ... */ }; #endif #endif // QSTYLEOPTION_H