QWaylandClient Class

The QWaylandClient class represents a client connecting to the QWaylandCompositor . 更多...

頭: #include <QWaylandClient>
qmake: QT += waylandcompositor
Since: Qt 5.8
繼承: QObject

特性

公共函數

~QWaylandClient ()
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 )

額外繼承成員

詳細描述

The QWaylandClient class represents a client connecting to the QWaylandCompositor .

This class corresponds to a client connecting to the compositor using the Wayland protocol. It corresponds to the Wayland interface wl_client.

特性文檔編製

compositor : QWaylandCompositor * const

This property holds the compositor of this QWaylandClient .

訪問函數:

QWaylandCompositor * compositor () const

groupId : const qint64

This property holds the group id of this QWaylandClient .

訪問函數:

qint64 groupId () const

processId : const qint64

This property holds the process id of this QWaylandClient .

訪問函數:

qint64 processId () const

userId : const qint64

This property holds the user id of this QWaylandClient .

訪問函數:

qint64 userId () const

成員函數文檔編製

QWaylandClient:: ~QWaylandClient ()

銷毀 QWaylandClient .

wl_client *QWaylandClient:: client () const

Returns the Wayland client of this QWaylandClient .

[slot] void QWaylandClient:: close ()

Closes the client.

[static] QWaylandClient *QWaylandClient:: fromWlClient ( QWaylandCompositor * compositor , wl_client * wlClient )

返迴 QWaylandClient corresponding to the Wayland client wlClient and compositor . If a QWaylandClient has not already been created for a client, it is created and returned.

void QWaylandClient:: kill ( int signal = SIGTERM)

Kills the client with the specified signal .