summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-02-07 13:00:27 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-02-08 12:18:52 +0000
commite768d96e8bc161211b2d4ad377f3fb250f270a9b (patch)
treeffff4da772e6edee99b405660363b8192b20e49d /src/gui/kernel/qevent.h
parentba7cedb058455942dda337223a170b4f9566f0ef (diff)
QtGui: use Q_ENUM instead of Q_ENUMS
Change-Id: I92ac2ea218e9134aa36ecb179b8ae790a2dba56a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 35a8884865..1b6d63464d 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -223,12 +223,12 @@ protected:
class Q_GUI_EXPORT QTabletEvent : public QInputEvent
{
Q_GADGET
- Q_ENUMS(TabletDevice)
- Q_ENUMS(PointerType)
public:
enum TabletDevice { NoDevice, Puck, Stylus, Airbrush, FourDMouse,
XFreeEraser /*internal*/, RotationStylus };
+ Q_ENUM(TabletDevice)
enum PointerType { UnknownPointer, Pen, Cursor, Eraser };
+ Q_ENUM(PointerType)
QTabletEvent(Type t, const QPointF &pos, const QPointF &globalPos,
int device, int pointerType, qreal pressure, int xTilt, int yTilt,
qreal tangentialPressure, qreal rotation, int z,