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