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