#include <QtGui/qevent.h>
#ifndef QEVENT_H
#ifndef QT_NO_TABLETEVENT
class QTabletEvent: public QInputEvent{
   /* Some contents are skipped to improve readability */
   public: enum PointerType{
      UnknownPointer = 0,
      Pen = 1,
      Cursor = 2,
      Eraser = 3,
   };
   /* ... */
};
#endif // QT_NO_TABLETEVENT
#endif // QEVENT_H