QWaylandResource Class
QWaylandResource es un contenedor para un wl_resource. Más...
| Cabecera: | #include <QWaylandResource> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
Funciones públicas
| QWaylandResource() | |
| QWaylandResource(wl_resource *resource) | |
| wl_resource * | resource() const |
Descripción Detallada
QWaylandResource es una simple envoltura alrededor del tipo de Wayland wl_resource, y hace posible el uso de punteros wl_resource en APIs Qt Quick.
Ver también Shell Personalizado.
Documentación de la Función Miembro
QWaylandResource::QWaylandResource()
Construye un QWaylandResource inválido. El accesorio resource() devolverá null.
[explicit] QWaylandResource::QWaylandResource(wl_resource *resource)
Construye un QWaylandResource que contiene resource.
wl_resource *QWaylandResource::resource() const
Devuelve el puntero wl_resource que contiene este QWaylandResource.
© 2026 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.