QWaylandClient Class
La classe QWaylandClient rappresenta un client connesso a QWaylandCompositor. Per saperne di più...
| Intestazione: | #include <QWaylandClient> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | WaylandClient |
| Eredita da: | QObject |
Proprietà
- compositor : QWaylandCompositor* const
- groupId : const qint64
- processId : const qint64
- userId : const qint64
Funzioni pubbliche
| virtual | ~QWaylandClient() override |
| wl_client * | client() const |
| QWaylandCompositor * | compositor() const |
| qint64 | groupId() const |
| void | kill(int signal = SIGTERM) |
| qint64 | processId() const |
| qint64 | userId() const |
Slot pubblici
| void | close() |
Membri statici pubblici
| QWaylandClient * | fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient) |
Descrizione dettagliata
Questa classe corrisponde a un client connesso al compositore tramite il protocollo Wayland. Corrisponde all'interfaccia Wayland wl_client.
Documentazione delle proprietà
[read-only] compositor : QWaylandCompositor* const
Questa proprietà contiene il compositore di questo QWaylandClient.
Funzioni di accesso:
| QWaylandCompositor * | compositor() const |
[read-only] groupId : const qint64
Questa proprietà contiene l'ID del gruppo di questa QWaylandClient.
Funzioni di accesso:
| qint64 | groupId() const |
[read-only] processId : const qint64
Questa proprietà contiene l'ID del processo di questo QWaylandClient.
Funzioni di accesso:
| qint64 | processId() const |
[read-only] userId : const qint64
Questa proprietà contiene l'ID utente di questo QWaylandClient.
Funzioni di accesso:
| qint64 | userId() const |
Documentazione sulle funzioni membro
[override virtual noexcept] QWaylandClient::~QWaylandClient()
Distrugge l'QWaylandClient.
wl_client *QWaylandClient::client() const
Restituisce il client Wayland di questo QWaylandClient.
[slot] void QWaylandClient::close()
Chiude il client.
[static] QWaylandClient *QWaylandClient::fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient)
Restituisce l'oggetto ` QWaylandClient ` corrispondente al client Wayland wlClient e compositor. Se per un client non è ancora stato creato un oggetto ` QWaylandClient `, questo viene creato e restituito.
[invokable] void QWaylandClient::kill(int signal = SIGTERM)
Elimina il client con l'signal e specificato.
Nota: questa funzione può essere richiamata tramite il sistema dei meta-oggetti e da QML. Vedere Q_INVOKABLE.
© 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.