1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QWAYLANDWLSHELLFOREIGN_H |
5 | #define QWAYLANDWLSHELLFOREIGN_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 <QtQml/qqmlextensionplugin.h> |
19 | #include <QtQml/qqml.h> |
20 | |
21 | #include <QtWaylandCompositor/qwaylandquickextension.h> |
22 | #include <QtWaylandCompositor/qwaylandwlshell.h> |
23 | |
24 | QT_BEGIN_NAMESPACE |
25 | |
26 | Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT(QWaylandWlShell, WlShell, 1, 0) |
27 | |
28 | struct QWaylandWlShellForeign { |
29 | Q_GADGET |
30 | QML_FOREIGN(QWaylandWlShell) |
31 | QML_NAMED_ELEMENT(WlShellSurface) |
32 | QML_ADDED_IN_VERSION(1, 0) |
33 | }; |
34 | |
35 | QT_END_NAMESPACE |
36 | |
37 | #endif |
38 |
Definitions
Learn Advanced QML with KDAB
Find out more