Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
/
QHash
>
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
QHash
<
QWindow
*,
QWaylandAppMenu
*>
m_appMenus
;
49
};
50
51
QT_END_NAMESPACE
52
53
}
// namespace QtWaylandClient
54
55
#
endif
// QWAYLANDPLATFORMSERVICES_H
QtWaylandClient::QWaylandAppMenu
Definition
qwaylandappmenu_p.h:29
QtWaylandClient::QWaylandDecorationHandler
Definition
qwaylanddecorationhandler_p.h:72
QtWaylandClient::QWaylandDecorationSurface
Definition
qwaylanddecorationhandler_p.h:36
QtWaylandClient::QWaylandPlatformServices
Definition
qwaylandplatformservices_p.h:34
QtWaylandClient::QWaylandViewport
Definition
qwaylandviewport_p.h:29
QtWaylandClient::QWaylandViewport::~QWaylandViewport
~QWaylandViewport() override
Definition
qwaylandviewport.cpp:16
QtWaylandClient::QWaylandViewport::setDestination
void setDestination(const QSize &destination)
Definition
qwaylandviewport.cpp:29
QtWaylandClient::QWaylandViewport::QWaylandViewport
QWaylandViewport(::wp_viewport *viewport)
Definition
qwaylandviewport.cpp:11
QtWaylandClient::QWaylandViewport::setSource
void setSource(const QRectF &source)
Definition
qwaylandviewport.cpp:21
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QtWaylandClient
Definition
qwaylandclientextension.h:16
qtbase
src
plugins
platforms
wayland
qwaylandplatformservices_p.h
Generated on
for Qt by
1.18.0