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/qqnxnativeinterface.h | |
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/qqnxnativeinterface.h')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxnativeinterface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.h b/src/plugins/platforms/qnx/qqnxnativeinterface.h index e2fdd32689..83900791f6 100644 --- a/src/plugins/platforms/qnx/qqnxnativeinterface.h +++ b/src/plugins/platforms/qnx/qqnxnativeinterface.h @@ -46,15 +46,22 @@ QT_BEGIN_NAMESPACE +class QQnxIntegration; + class QQnxNativeInterface : public QPlatformNativeInterface { public: + QQnxNativeInterface(QQnxIntegration *integration); void *nativeResourceForWindow(const QByteArray &resource, QWindow *window); void *nativeResourceForScreen(const QByteArray &resource, QScreen *screen); + void *nativeResourceForIntegration(const QByteArray &resource); void *nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context); void setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value); NativeResourceForIntegrationFunction nativeResourceFunctionForIntegration(const QByteArray &resource); + +private: + QQnxIntegration *m_integration; }; QT_END_NAMESPACE |