QWaylandClient Class
La clase QWaylandClient representa a un cliente que se conecta a QWaylandCompositor. Más...
| Cabecera: | #include <QWaylandClient> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| En QML: | WaylandClient |
| Hereda: | QObject |
Propiedades
- compositor : QWaylandCompositor* const
- groupId : const qint64
- processId : const qint64
- userId : const qint64
Funciones públicas
| virtual | ~QWaylandClient() override |
| wl_client * | client() const |
| QWaylandCompositor * | compositor() const |
| qint64 | groupId() const |
| void | kill(int signal = SIGTERM) |
| qint64 | processId() const |
| qint64 | userId() const |
Ranuras Públicas
| void | close() |
Miembros públicos estáticos
| QWaylandClient * | fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient) |
Descripción Detallada
Esta clase corresponde a un cliente que se conecta al compositor utilizando el protocolo Wayland. Se corresponde con la interfaz de Wayland wl_client.
Documentación de Propiedades
[read-only] compositor : QWaylandCompositor* const
Esta propiedad contiene el compositor de este QWaylandClient.
Funciones de acceso:
| QWaylandCompositor * | compositor() const |
[read-only] groupId : const qint64
Esta propiedad contiene el identificador de grupo de este QWaylandClient.
Funciones de acceso:
| qint64 | groupId() const |
[read-only] processId : const qint64
Esta propiedad contiene el identificador de proceso de este QWaylandClient.
Funciones de acceso:
| qint64 | processId() const |
[read-only] userId : const qint64
Esta propiedad contiene el identificador de usuario de este QWaylandClient.
Funciones de acceso:
| qint64 | userId() const |
Documentación de funciones miembro
[override virtual noexcept] QWaylandClient::~QWaylandClient()
Destruye el QWaylandClient.
wl_client *QWaylandClient::client() const
Devuelve el cliente Wayland de este QWaylandClient.
[slot] void QWaylandClient::close()
Cierra el cliente.
[static] QWaylandClient *QWaylandClient::fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient)
Devuelve el QWaylandClient correspondiente al cliente Wayland wlClient y compositor. Si aún no se ha creado un QWaylandClient para un cliente, se crea y se devuelve.
[invokable] void QWaylandClient::kill(int signal = SIGTERM)
Mata al cliente con la dirección signal especificada.
Nota: Esta función puede invocarse a través del sistema de metaobjetos y desde QML. Véase 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.