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
qwaylandplatformservices_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QWAYLANDPLATFORMSERVICES_H
6
#
define
QWAYLANDPLATFORMSERVICES_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
QMap
>
20
#
include
<
QtGui
/
private
/
qdesktopunixservices_p
.
h
>
21
22
#
include
<
QtWaylandClient
/
private
/
qwayland
-
qt
-
windowmanager
.
h
>
23
#
include
<
QtWaylandClient
/
qtwaylandclientglobal
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
namespace
QtWaylandClient
{
28
29
class
QWaylandAppMenu
;
30
class
QWaylandDisplay;
31
class
QWaylandWindow;
32
33
class
Q_WAYLANDCLIENT_EXPORT
QWaylandPlatformServices
:
public
QDesktopUnixServices
34
{
35
public
:
36
explicit
QWaylandPlatformServices
(
QWaylandDisplay
*
waylandDisplay
);
37
~
QWaylandPlatformServices
();
38
39
bool
openUrl
(
const
QUrl
&
url
)
override
;
40
bool
openDocument
(
const
QUrl
&
url
)
override
;
41
QString
portalWindowIdentifier
(
QWindow
*
window
)
override
;
42
void
registerDBusMenuForWindow
(
QWindow
*
window
,
const
QString
&
service
,
43
const
QString
&
path
)
override
;
44
void
unregisterDBusMenuForWindow
(
QWindow
*
window
)
override
;
45
46
private
:
47
QWaylandDisplay
*
m_display
;
48
QMap
<
QWindow
*,
QWaylandAppMenu
*>
m_appMenus
;
49
};
50
51
QT_END_NAMESPACE
52
53
}
// namespace QtWaylandClient
54
55
#
endif
// QWAYLANDPLATFORMSERVICES_H
QMargins
\inmodule QtCore
Definition
qmargins.h:27
QtWaylandClient::QWaylandAppMenu
Definition
qwaylandappmenu_p.h:29
QtWaylandClient::QWaylandNativeInterface
Definition
qwaylandnativeinterface_p.h:38
QtWaylandClient::QWaylandPlatformServices
Definition
qwaylandplatformservices_p.h:34
QtWaylandClient::QWaylandShmWindow
Definition
qwaylandshmwindow_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QtWaylandClient
Definition
qwaylandclientextension.h:16
WAYLAND_IM_KEY
#define WAYLAND_IM_KEY
Definition
qwaylanddisplay_p.h:45
qtbase
src
plugins
platforms
wayland
qwaylandplatformservices_p.h
Generated on
for Qt by
1.16.1