summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxservices.h
diff options
context:
space:
mode:
authorKevin Krammer <kevin.krammer.qnx@kdab.com>2012-04-11 13:25:28 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-26 15:21:46 +0200
commit8c59e22538b54c9170376bf22e2e6be054b38454 (patch)
tree2c3bea3ea20d1bbe2ebbd2f84b3dd268c1d7bc7f /src/plugins/platforms/qnx/qqnxservices.h
parent99a620d2e2d5225f2b5e29d52617a8a5328081fd (diff)
Create interface for navigator calls and implement for BPS and PPS
Makes QQnxServices available on non-BPS systems by delegating to an interface which is implemented on systems with BPS using the currenly used navigator API and on systems without BPS by sending an appropriate message to the navigator's PPS service interface. Change-Id: I0e32fb11e6debb7b7b4693c0bc02af4f75ee2162 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxservices.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxservices.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxservices.h b/src/plugins/platforms/qnx/qqnxservices.h
index 36eb8edf65..fe7c014047 100644
--- a/src/plugins/platforms/qnx/qqnxservices.h
+++ b/src/plugins/platforms/qnx/qqnxservices.h
@@ -46,10 +46,12 @@
QT_BEGIN_NAMESPACE
+class QQnxAbstractNavigator;
+
class QQnxServices : public QPlatformServices
{
public:
- QQnxServices();
+ explicit QQnxServices(QQnxAbstractNavigator *navigator);
~QQnxServices();
bool openUrl(const QUrl &url);
@@ -57,6 +59,9 @@ public:
private:
bool navigatorInvoke(const QUrl &url);
+
+private:
+ QQnxAbstractNavigator *m_navigator;
};
QT_END_NAMESPACE