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 |
詳細な説明
QWaylandResourceは、Waylandの型wl_resource をラップする単純なラッパーであり、Qt Quick のAPIでwl_resourceポインタを使用できるようにします。
「カスタムシェル」も参照してください 。
メンバ関数のドキュメント
QWaylandResource::QWaylandResource()
無効な QWaylandResource を生成します。resource() アクセサは null を返します。
[explicit] QWaylandResource::QWaylandResource(wl_resource *resource)
resource を含む QWaylandResource を生成します。
wl_resource *QWaylandResource::resource() const
このQWaylandResource が保持しているwl_resourceポインタを返します。
© 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.