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
qwaylandxdgexporterv2.cpp
Go to the documentation of this file.
1
// Copyright (C) 2022 David Reondo <kde@david-redondo.de>
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
"qwaylandxdgexporterv2_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
namespace
QtWaylandClient
{
10
11
QWaylandXdgExportedV2
::
QWaylandXdgExportedV2
(::zxdg_exported_v2 *object)
12
:
QtWayland
::
zxdg_exported_v2
(
object
)
13
{
14
}
15
16
QWaylandXdgExportedV2
::~
QWaylandXdgExportedV2
()
17
{
18
destroy();
19
}
20
21
void
QWaylandXdgExportedV2
::
zxdg_exported_v2_handle
(
const
QString &handle)
22
{
23
mHandle = handle;
24
}
25
26
QString
QWaylandXdgExportedV2
::
handle
()
const
27
{
28
return
mHandle;
29
}
30
31
QWaylandXdgExporterV2
::
QWaylandXdgExporterV2
(wl_registry *registry, uint32_t id,
int
version)
32
:
QtWayland
::
zxdg_exporter_v2
(
registry
,
id
,
qMin
(
version
, 1))
33
{
34
}
35
36
QWaylandXdgExporterV2
::~
QWaylandXdgExporterV2
()
37
{
38
destroy();
39
}
40
}
41
42
QT_END_NAMESPACE
QtWaylandClient::QWaylandXdgExportedV2
Definition
qwaylandxdgexporterv2_p.h:16
QtWaylandClient::QWaylandXdgExportedV2::zxdg_exported_v2_handle
void zxdg_exported_v2_handle(const QString &handle) override
Definition
qwaylandxdgexporterv2.cpp:21
QtWaylandClient::QWaylandXdgExportedV2::handle
QString handle() const
Definition
qwaylandxdgexporterv2.cpp:26
QtWaylandClient::QWaylandXdgExportedV2::~QWaylandXdgExportedV2
~QWaylandXdgExportedV2() override
Definition
qwaylandxdgexporterv2.cpp:16
QtWaylandClient::QWaylandXdgExportedV2::QWaylandXdgExportedV2
QWaylandXdgExportedV2(::zxdg_exported_v2 *object)
Definition
qwaylandxdgexporterv2.cpp:11
QtWaylandClient::QWaylandXdgExporterV2
Definition
qwaylandxdgexporterv2_p.h:28
QtWaylandClient::QWaylandXdgExporterV2::~QWaylandXdgExporterV2
~QWaylandXdgExporterV2() override
Definition
qwaylandxdgexporterv2.cpp:36
QtWaylandClient::QWaylandXdgExporterV2::QWaylandXdgExporterV2
QWaylandXdgExporterV2(wl_registry *registry, uint32_t id, int version)
Definition
qwaylandxdgexporterv2.cpp:31
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QtWaylandClient
Definition
qwaylandclientextension.h:16
qtbase
src
plugins
platforms
wayland
plugins
shellintegration
xdg-shell
qwaylandxdgexporterv2.cpp
Generated on
for Qt by
1.16.1