#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H #ifndef QT_NO_RUBBERBAND class QStyleOptionRubberBand: public QStyleOption{ /* Some contents are skipped to improve readability */ public: bool opaque; /* ... */ }; #endif // QT_NO_RUBBERBAND #endif // QSTYLEOPTION_H