QWaylandClient Class
QWaylandClient 클래스는 QWaylandCompositor 에 연결하는 클라이언트를 나타냅니다.. ..
헤더: | #include <QWaylandClient> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
QML에서: | WaylandClient |
상속합니다: | QObject |
공용 유형
flags | TextInputProtocols |
속성
- compositor : QWaylandCompositor* const
- groupId : const qint64
- processId : const qint64
- userId : const qint64
공용 기능
virtual | ~QWaylandClient() override |
wl_client * | client() const |
QWaylandCompositor * | compositor() const |
qint64 | groupId() const |
void | kill(int signal = SIGTERM) |
qint64 | processId() const |
qint64 | userId() const |
공용 슬롯
void | close() |
정적 공용 멤버
QWaylandClient * | fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient) |
프로퍼티 문서
[read-only]
compositor : QWaylandCompositor* const
이 프로퍼티는 이 QWaylandClient 의 컴포짓을 보유합니다.
액세스 함수:
QWaylandCompositor * | compositor() const |
[read-only]
groupId : const qint64
이 속성은 이 QWaylandClient 의 그룹 ID를 보유합니다.
액세스 함수:
qint64 | groupId() const |
[read-only]
processId : const qint64
이 프로퍼티는 이 QWaylandClient 의 프로세스 ID를 보유합니다.
액세스 함수:
qint64 | processId() const |
[read-only]
userId : const qint64
이 속성은 이 QWaylandClient 의 사용자 ID를 보유합니다.
액세스 함수:
qint64 | userId() const |
멤버 함수 문서
[override virtual noexcept]
QWaylandClient::~QWaylandClient()
QWaylandClient 를 파괴합니다.
wl_client *QWaylandClient::client() const
이 QWaylandClient 의 Wayland 클라이언트를 반환합니다.
[slot]
void QWaylandClient::close()
클라이언트를 닫습니다.
[static]
QWaylandClient *QWaylandClient::fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient)
Wayland 클라이언트 wlClient 및 compositor 에 해당하는 QWaylandClient 을 반환합니다. 클라이언트에 대해 QWaylandClient 이 아직 생성되지 않은 경우, 생성되어 반환됩니다.
[invokable]
void QWaylandClient::kill(int signal = SIGTERM)
지정된 signal 으로 클라이언트를 종료합니다.
참고: 이 함수는 메타객체 시스템과 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 을 참조하세요.
© 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.