QWaylandResource is a container for a wl_resource. More...
| Header: | #include <QWaylandResource>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
|
| qmake: | QT += waylandcompositor
|
| QWaylandResource() | |
| QWaylandResource(wl_resource *resource) | |
| wl_resource * | resource() const |
The QWaylandResource is a simple wrapper around the Wayland type wl_resource, and makes it possible to use wl_resource pointers in Qt Quick APIs.
See also Custom Shell.
Constructs an invalid QWaylandResource. The resource() accessor will return null.
[explicit] QWaylandResource::QWaylandResource(wl_resource *resource)
Constructs a QWaylandResource which contains resource.
Returns the wl_resource pointer held by this QWaylandResource.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qwaylandresource.html