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
qqnxabstractnavigator.cpp
Go to the documentation of this file.
1
// Copyright (C) 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
"qqnxabstractnavigator.h"
6
7
#
include
<
QDebug
>
8
#
include
<
QUrl
>
9
10
QT_BEGIN_NAMESPACE
11
12
Q_LOGGING_CATEGORY(lcQpaQnxNavigator,
"qt.qpa.qnx.navigator"
);
13
14
QQnxAbstractNavigator
::QQnxAbstractNavigator(QObject *parent)
15
: QObject(parent)
16
{
17
}
18
19
QQnxAbstractNavigator
::~
QQnxAbstractNavigator
()
20
{
21
}
22
23
bool
QQnxAbstractNavigator
::
invokeUrl
(
const
QUrl &url)
24
{
25
if
(!url.isValid() || url.isRelative())
26
return
false
;
27
28
// not using QUrl::toEncoded() because for e.g. camera:// it creates camera:
29
// which is not recognized by the navigator anymore
30
const
bool
result = requestInvokeUrl(url.toString().toUtf8());
31
32
qCDebug(lcQpaQnxNavigator) << Q_FUNC_INFO <<
"url ="
<< url <<
"result ="
<< result;
33
34
return
result;
35
}
36
37
QT_END_NAMESPACE
QQnxAbstractNavigator
Definition
qqnxabstractnavigator.h:18
QQnxAbstractNavigator::invokeUrl
bool invokeUrl(const QUrl &url)
Definition
qqnxabstractnavigator.cpp:23
QQnxAbstractNavigator::~QQnxAbstractNavigator
~QQnxAbstractNavigator()
Definition
qqnxabstractnavigator.cpp:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
plugins
platforms
qnx
qqnxabstractnavigator.cpp
Generated on
for Qt by
1.16.1