QWaylandResource Class
QWaylandResource ist ein Container für eine wl_resource
. Mehr...
Kopfzeile: | #include <QWaylandResource> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
Öffentliche Funktionen
QWaylandResource() | |
QWaylandResource(wl_resource *resource) | |
wl_resource * | resource() const |
Detaillierte Beschreibung
QWaylandResource ist ein einfacher Wrapper um den Wayland-Typ wl_resource
, und ermöglicht die Verwendung von wl_resource-Zeigern in Qt Quick APIs.
Siehe auch Custom Shell.
Dokumentation der Mitgliedsfunktionen
QWaylandResource::QWaylandResource()
Konstruiert eine ungültige QWaylandResource. Der Accessor resource() gibt null zurück.
[explicit]
QWaylandResource::QWaylandResource(wl_resource *resource)
Konstruiert eine QWaylandResource, die resource enthält.
wl_resource *QWaylandResource::resource() const
Gibt den wl_resource-Zeiger zurück, der von diesem QWaylandResource gehalten wird.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.