#include <QtGui/qrubberband.h>
#ifndef QRUBBERBAND_H
#ifndef QT_NO_RUBBERBAND
class QRubberBand: public QWidget{
   /* Some contents are skipped to improve readability */
   public: enum Shape{
      Line = 0,
      Rectangle = 1,
   };
   /* ... */
};
#endif // QT_NO_RUBBERBAND
#endif // QRUBBERBAND_H