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
qwaylandresource.h
Go to the documentation of this file.
1
// Copyright (C) 2017 Klarälvdalens Datakonsult AB (KDAB).
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDRESOURCE_H
6
#
define
QWAYLANDRESOURCE_H
7
8
#
include
<
QtCore
/
QObject
>
9
#
include
<
QtWaylandCompositor
/
qtwaylandcompositorglobal
.
h
>
10
#
include
<
QtWaylandCompositor
/
qtwaylandqmlinclude
.
h
>
11
12
struct
wl_resource;
13
14
QT_BEGIN_NAMESPACE
15
16
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandResource
17
{
18
Q_GADGET
19
QML_NAMED_ELEMENT(waylandresource)
20
QML_UNCREATABLE(
""
)
21
QML_ADDED_IN_VERSION(1, 0)
22
public
:
23
QWaylandResource();
24
explicit
QWaylandResource(wl_resource *resource);
25
26
wl_resource *resource()
const
{
return
m_resource; }
27
28
private
:
29
wl_resource *m_resource =
nullptr
;
30
};
31
32
QT_END_NAMESPACE
33
34
Q_DECLARE_METATYPE
(
QWaylandResource
)
35
36
#
endif
/*QWAYLANDRESOURCE_H*/
QWaylandResource
\inmodule QtWaylandCompositor
Definition
qwaylandresource.h:17
Q_DECLARE_METATYPE
QT_END_NAMESPACE Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(QtOhos::enums::kit::ShareKit::systemShare::SelectionMode))
qtwayland
src
compositor
compositor_api
qwaylandresource.h
Generated on
for Qt by
1.16.1