Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxservices.cpp
Go to the documentation of this file.
1// Copyright (C) 2011 - 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qqnxservices.h"
5
7
9
10QQnxServices::QQnxServices(QQnxAbstractNavigator *navigator)
11 : m_navigator(navigator)
12{
13}
14
15QQnxServices::~QQnxServices()
16{
17}
18
19bool QQnxServices::openUrl(const QUrl &url)
20{
21 return navigatorInvoke(url);
22}
23
24bool QQnxServices::openDocument(const QUrl &url)
25{
26 return navigatorInvoke(url);
27}
28
29bool QQnxServices::navigatorInvoke(const QUrl &url)
30{
31 return m_navigator->invokeUrl(url);
32}
33
34QT_END_NAMESPACE
bool invokeUrl(const QUrl &url)