summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-16 13:56:24 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:34 (GMT)
commitd392c3073c10d053ffcd5d64d4f9d89a971fcb2d (patch)
treeb0bc9f3b46a3b76051d45b72e984c177f17bb66d /src/corelib/global/qnamespace.h
parentd8e4d20f3d225a3c29168d7a9440f2efc129ea8e (diff)
downloadQt-d392c3073c10d053ffcd5d64d4f9d89a971fcb2d.zip
Qt-d392c3073c10d053ffcd5d64d4f9d89a971fcb2d.tar.gz
Qt-d392c3073c10d053ffcd5d64d4f9d89a971fcb2d.tar.bz2
Extended the gesture documentation.
Also made some small fixes that noticed while was writing a doc.
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 56ee768..7875fba 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1569,6 +1569,23 @@ public:
GestureFinished = 1
};
+ enum DirectionType
+ {
+ NoDirection = 0,
+ LeftDownDirection = 1,
+ DownLeftDirection = LeftDownDirection,
+ DownDirection = 2,
+ RightDownDirection = 3,
+ DownRightDirection = RightDownDirection,
+ LeftDirection = 4,
+ RightDirection = 6,
+ LeftUpDirection = 7,
+ UpLeftDirection = LeftUpDirection,
+ UpDirection = 8,
+ RightUpDirection = 9,
+ UpRightDirection = RightUpDirection
+ };
+
}
#ifdef Q_MOC_RUN
;