diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2014-02-08 18:32:12 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-16 20:21:43 +0100 |
commit | 0827f0bd6659db97fe8d8d062a1812f9f434fb50 (patch) | |
tree | 04962719eeac1afdaf26efa10a747cdd49800a95 /src/plugins/platforms/qnx/qqnxintegration.cpp | |
parent | ddbbf2b4a71b15181a33d911b99f2e0650566edf (diff) |
Refactor the handling of the navigator swipe down event
The navigator swipe down event is not mapped to a platform panel event any more.
Instead the NavigatorEventHandler is exposed through the QPlatformNativeInterface.
Change-Id: I6d29bba011849da5210f6f4d595e3c2e0c021449
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxintegration.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxintegration.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp index b39311353c..dd32116360 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.cpp +++ b/src/plugins/platforms/qnx/qqnxintegration.cpp @@ -162,7 +162,7 @@ QQnxIntegration::QQnxIntegration(const QStringList ¶mList) #else , m_eventDispatcher(createUnixEventDispatcher()) #endif - , m_nativeInterface(new QQnxNativeInterface()) + , m_nativeInterface(new QQnxNativeInterface(this)) , m_screenEventHandler(new QQnxScreenEventHandler(this)) #if !defined(QT_NO_CLIPBOARD) , m_clipboard(0) @@ -597,6 +597,11 @@ screen_context_t QQnxIntegration::screenContext() return ms_screenContext; } +QQnxNavigatorEventHandler *QQnxIntegration::navigatorEventHandler() +{ + return m_navigatorEventHandler; +} + screen_context_t QQnxIntegration::ms_screenContext = 0; QQnxIntegration::Options QQnxIntegration::ms_options = 0; |