QWaylandResource Class
QWaylandResource 是wl_resource
... 更多...
头文件: | #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 |
另请参阅 自定义 Shell。
成员函数文档
QWaylandResource::QWaylandResource()
构造无效的 QWaylandResource。resource() 访问器将返回 null。
[explicit]
QWaylandResource::QWaylandResource(wl_resource *resource)
构造一个包含resource 的 QWaylandResource。
wl_resource *QWaylandResource::resource() const
返回此QWaylandResource 持有的 wl_resource 指针。
© 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.