The QWaylandClient class represents a client connecting to the QWaylandCompositor . 更多...
头: | #include <QWaylandClient> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
继承: | QObject |
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 ) |
const QMetaObject | staticMetaObject |
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.
This property holds the compositor of this QWaylandClient .
访问函数:
QWaylandCompositor * | compositor () const |
This property holds the group id of this QWaylandClient .
访问函数:
qint64 | groupId () const |
This property holds the process id of this QWaylandClient .
访问函数:
qint64 | processId () const |
This property holds the user id of this QWaylandClient .
访问函数:
qint64 | userId () const |
[override virtual]
QWaylandClient::
~QWaylandClient
()
销毁 QWaylandClient .
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.
Kills the client with the specified signal .
注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .