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// Qt-Security score:significant reason:default
4
5#include "qqnxservices.h"
6
8
10
11QQnxServices::QQnxServices(QQnxAbstractNavigator *navigator)
12 : m_navigator(navigator)
13{
14}
15
16QQnxServices::~QQnxServices()
17{
18}
19
20bool QQnxServices::openUrl(const QUrl &url)
21{
22 return navigatorInvoke(url);
23}
24
25bool QQnxServices::openDocument(const QUrl &url)
26{
27 return navigatorInvoke(url);
28}
29
30bool QQnxServices::navigatorInvoke(const QUrl &url)
31{
32 return m_navigator->invokeUrl(url);
33}
34
35QT_END_NAMESPACE
bool invokeUrl(const QUrl &url)
Combined button and popup list for selecting options.