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
qdesktopservices.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
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
#
ifndef
QDESKTOPSERVICES_H
6
#
define
QDESKTOPSERVICES_H
7
8
#
include
<
QtGui
/
qtguiglobal
.
h
>
9
#
include
<
QtCore
/
qstring
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
14
#
ifndef
QT_NO_DESKTOPSERVICES
15
16
class
QUrl;
17
class
QObject;
18
19
class
Q_GUI_EXPORT
QDesktopServices
20
{
21
public
:
22
static
bool
openUrl(
const
QUrl &url);
23
static
void
setUrlHandler(
const
QString &scheme, QObject *receiver,
const
char
*method);
24
static
void
unsetUrlHandler(
const
QString &scheme);
25
};
26
27
#
endif
// QT_NO_DESKTOPSERVICES
28
29
QT_END_NAMESPACE
30
31
#
endif
// QDESKTOPSERVICES_H
QDesktopServices
The QDesktopServices class provides methods for accessing common desktop services.
Definition
qdesktopservices.h:20
QOpenUrlHandlerRegistry
Definition
qdesktopservices.cpp:25
QOpenUrlHandlerRegistry::mutex
QRecursiveMutex mutex
Definition
qdesktopservices.cpp:29
QOpenUrlHandlerRegistry::HandlerHash
QHash< QString, Handler > HandlerHash
Definition
qdesktopservices.cpp:36
QOpenUrlHandlerRegistry::handlers
HandlerHash handlers
Definition
qdesktopservices.cpp:37
QOpenUrlHandlerRegistry::QOpenUrlHandlerRegistry
QOpenUrlHandlerRegistry()=default
QRecursiveMutex
\inmodule QtCore
Definition
qmutex.h:342
QPlatformGraphicsBufferHelper
\inmodule QtGui
QOpenUrlHandlerRegistry::Handler
Definition
qdesktopservices.cpp:32
QOpenUrlHandlerRegistry::Handler::receiver
QObject * receiver
Definition
qdesktopservices.cpp:33
QOpenUrlHandlerRegistry::Handler::name
QByteArray name
Definition
qdesktopservices.cpp:34
qtbase
src
gui
util
qdesktopservices.h
Generated on
for Qt by
1.14.0