summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 5747c3c..56ee768 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1551,13 +1551,17 @@ public:
TouchPointReleased
};
- typedef QString GestureType;
- static const char UnknownGesture[] = "???";
- static const char Tap[] = "Tap";
- static const char DoubleTap[] = "DoubleTap";
- static const char LongTap[] = "LongTap";
- static const char Pan[] = "Pan";
- static const char Pinch[] = "Pinch";
+ enum GestureType
+ {
+ UnknownGesture,
+ TapGesture,
+ DoubleTapGesture,
+ TrippleTapGesture,
+ TapAndHoldGesture,
+ PanGesture,
+ PinchGesture
+ };
+
enum GestureState
{