summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-09-14 07:49:19 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-09-14 07:51:07 (GMT)
commit740e1f88da76b9d52bc0b5600b808e91cec97f73 (patch)
treeaeb1ccf986c592115a1da871559d57238229c44a /src
parent71ba591c5db9a09747f5f5a68539495848ffb00f (diff)
downloadQt-740e1f88da76b9d52bc0b5600b808e91cec97f73.zip
Qt-740e1f88da76b9d52bc0b5600b808e91cec97f73.tar.gz
Qt-740e1f88da76b9d52bc0b5600b808e91cec97f73.tar.bz2
expose GestureType for using in QML
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qnamespace.h1
-rw-r--r--src/gui/kernel/qgesture.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 68702c4..3952836 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -92,6 +92,7 @@ Qt {
Q_ENUMS(ConnectionType)
#ifndef QT_NO_GESTURES
Q_ENUMS(GestureState)
+ Q_ENUMS(GestureType)
#endif
#endif // (defined(Q_MOC_RUN) || defined(QT_JAMBI_RUN))
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h
index 2e279b0..8416708 100644
--- a/src/gui/kernel/qgesture.h
+++ b/src/gui/kernel/qgesture.h
@@ -54,6 +54,7 @@
QT_BEGIN_HEADER
Q_DECLARE_METATYPE(Qt::GestureState)
+Q_DECLARE_METATYPE(Qt::GestureType)
QT_BEGIN_NAMESPACE