#include <QtGui/qevent.h>
#ifndef QEVENT_H
#ifndef QT_NO_TABLETEVENT
class QTabletEvent: public QInputEvent{
   /* Some contents are skipped to improve readability */
   public: enum TabletDevice{
      NoDevice = 0,
      Puck = 1,
      Stylus = 2,
      Airbrush = 3,
      FourDMouse = 4,
      XFreeEraser = 5,
      RotationStylus = 6,
   };
   /* ... */
};
#endif // QT_NO_TABLETEVENT
#endif // QEVENT_H