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.