#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H class QStyleOptionFrame: public QStyleOption{ /* Some contents are skipped to improve readability */ public: int midLineWidth; /* ... */ }; #endif // QSTYLEOPTION_H