diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-14 07:49:19 (GMT) |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-14 07:51:07 (GMT) |
commit | 740e1f88da76b9d52bc0b5600b808e91cec97f73 (patch) | |
tree | aeb1ccf986c592115a1da871559d57238229c44a /src | |
parent | 71ba591c5db9a09747f5f5a68539495848ffb00f (diff) | |
download | Qt-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.h | 1 | ||||
-rw-r--r-- | src/gui/kernel/qgesture.h | 1 |
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 |