Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwaylandxdgexporterv2_p.h
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#ifndef QWAYLANDXDGEXPORTERV2_H
5#define QWAYLANDXDGEXPORTERV2_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qwayland-xdg-foreign-unstable-v2.h>
19
20#include <QtWaylandClient/qtwaylandclientglobal.h>
21
23
24namespace QtWaylandClient {
25
26class QWaylandXdgExportedV2 : public QtWayland::zxdg_exported_v2
27{
28public:
29 explicit QWaylandXdgExportedV2(::zxdg_exported_v2 *object);
30 ~QWaylandXdgExportedV2() override;
31 QString handle() const;
32
33private:
34 void zxdg_exported_v2_handle(const QString &handle) override;
35 QString mHandle;
36};
37
38class QWaylandXdgExporterV2 : public QtWayland::zxdg_exporter_v2
39{
40public:
41 QWaylandXdgExporterV2(wl_registry *registry, uint32_t id, int version);
42 ~QWaylandXdgExporterV2() override;
43};
44
45}
46
48
49#endif // QWAYLANDXDGEXPORTERV2_H
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
void zxdg_exported_v2_handle(const QString &handle) override
QWaylandXdgExportedV2(::zxdg_exported_v2 *object)
QWaylandXdgExporterV2(wl_registry *registry, uint32_t id, int version)
Combined button and popup list for selecting options.
GLuint64 GLenum void * handle