From 0827f0bd6659db97fe8d8d062a1812f9f434fb50 Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Sat, 8 Feb 2014 18:32:12 +0100 Subject: 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 Reviewed-by: Rafael Roquetto --- src/plugins/platforms/qnx/qqnxintegration.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/qnx/qqnxintegration.cpp') 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; -- cgit v1.2.3