summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxnativeinterface.h
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-02-08 18:32:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-16 20:21:43 +0100
commit0827f0bd6659db97fe8d8d062a1812f9f434fb50 (patch)
tree04962719eeac1afdaf26efa10a747cdd49800a95 /src/plugins/platforms/qnx/qqnxnativeinterface.h
parentddbbf2b4a71b15181a33d911b99f2e0650566edf (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.h7
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