diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-02 10:13:39 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-03 10:26:05 (GMT) |
commit | 4843b437b90800d238f14e7a4558045ddc37cd4b (patch) | |
tree | b3e8cb1a9b510200b8308e259af3327f5e807889 /src/gui/kernel/qgesturemanager.cpp | |
parent | 54db3afc9797a3adf5a38f35f6338960924e9e1a (diff) | |
download | Qt-4843b437b90800d238f14e7a4558045ddc37cd4b.zip Qt-4843b437b90800d238f14e7a4558045ddc37cd4b.tar.gz Qt-4843b437b90800d238f14e7a4558045ddc37cd4b.tar.bz2 |
Made native Pan gesture work on Windows.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qgesturemanager.cpp')
-rw-r--r-- | src/gui/kernel/qgesturemanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp index 6ea350b..318d4b5 100644 --- a/src/gui/kernel/qgesturemanager.cpp +++ b/src/gui/kernel/qgesturemanager.cpp @@ -52,6 +52,9 @@ #ifdef Q_WS_MAC #include "qmacgesturerecognizer_mac_p.h" #endif +#if defined(Q_OS_WIN) +#include "qwinnativepangesturerecognizer_win_p.h" +#endif #include "qdebug.h" @@ -78,6 +81,9 @@ QGestureManager::QGestureManager(QObject *parent) #else registerGestureRecognizer(new QPanGestureRecognizer); registerGestureRecognizer(new QPinchGestureRecognizer); +#if defined(Q_OS_WIN) + registerGestureRecognizer(new QWinNativePanGestureRecognizer); +#endif #endif } |