QWaylandResource Class

큐웨이랜드 리소스는 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 포인터를 반환합니다.

© 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.