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
4
#
include
"qwaylandxdgexporterv2_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
namespace
QtWaylandClient
{
9
10
QWaylandXdgExportedV2
::
QWaylandXdgExportedV2
(::zxdg_exported_v2 *object)
11
:
QtWayland
::
zxdg_exported_v2
(
object
)
12
{
13
}
14
15
QWaylandXdgExportedV2
::~
QWaylandXdgExportedV2
()
16
{
17
destroy();
18
}
19
20
void
QWaylandXdgExportedV2
::
zxdg_exported_v2_handle
(
const
QString &handle)
21
{
22
mHandle = handle;
23
}
24
25
QString
QWaylandXdgExportedV2
::
handle
()
const
26
{
27
return
mHandle;
28
}
29
30
QWaylandXdgExporterV2
::
QWaylandXdgExporterV2
(wl_registry *registry, uint32_t id,
int
version)
31
:
QtWayland
::
zxdg_exporter_v2
(
registry
,
id
,
qMin
(
version
, 1))
32
{
33
}
34
35
QWaylandXdgExporterV2
::~
QWaylandXdgExporterV2
()
36
{
37
destroy();
38
}
39
}
40
41
QT_END_NAMESPACE
QtWaylandClient::QWaylandXdgExportedV2
Definition
qwaylandxdgexporterv2_p.h:27
QtWaylandClient::QWaylandXdgExportedV2::zxdg_exported_v2_handle
void zxdg_exported_v2_handle(const QString &handle) override
Definition
qwaylandxdgexporterv2.cpp:20
QtWaylandClient::QWaylandXdgExportedV2::handle
QString handle() const
Definition
qwaylandxdgexporterv2.cpp:25
QtWaylandClient::QWaylandXdgExportedV2::~QWaylandXdgExportedV2
~QWaylandXdgExportedV2() override
Definition
qwaylandxdgexporterv2.cpp:15
QtWaylandClient::QWaylandXdgExportedV2::QWaylandXdgExportedV2
QWaylandXdgExportedV2(::zxdg_exported_v2 *object)
Definition
qwaylandxdgexporterv2.cpp:10
QtWaylandClient::QWaylandXdgExporterV2
Definition
qwaylandxdgexporterv2_p.h:39
QtWaylandClient::QWaylandXdgExporterV2::~QWaylandXdgExporterV2
~QWaylandXdgExporterV2() override
Definition
qwaylandxdgexporterv2.cpp:35
QtWaylandClient::QWaylandXdgExporterV2::QWaylandXdgExporterV2
QWaylandXdgExporterV2(wl_registry *registry, uint32_t id, int version)
Definition
qwaylandxdgexporterv2.cpp:30
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtbase
src
plugins
platforms
wayland
plugins
shellintegration
xdg-shell
qwaylandxdgexporterv2.cpp
Generated on
for Qt by
1.14.0