QWaylandClient Class
The QWaylandClient class represents a client connecting to the QWaylandCompositor. More...
Header: | #include <QWaylandClient> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
Inherits: | QObject |
This class was introduced in Qt 5.8.
Properties
- compositor : QWaylandCompositor* const
- groupId : const qint64
- processId : const qint64
- userId : const qint64
- 1 property inherited from QObject
Public Functions
virtual | ~QWaylandClient() override |
wl_client * | client() const |
QWaylandCompositor * | compositor() const |
qint64 | groupId() const |
void | kill(int signal = SIGTERM) |
qint64 | processId() const |
qint64 | userId() const |
- 30 public functions inherited from QObject
Public Slots
void | close() |
- 1 public slot inherited from QObject
Static Public Members
QWaylandClient * | fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient) |
- 9 static public members inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
Detailed Description
This class corresponds to a client connecting to the compositor using the Wayland protocol. It corresponds to the Wayland interface wl_client.
Property Documentation
compositor : QWaylandCompositor* const
This property holds the compositor of this QWaylandClient.
Access functions:
QWaylandCompositor * | compositor() const |
groupId : const qint64
This property holds the group id of this QWaylandClient.
Access functions:
qint64 | groupId() const |
processId : const qint64
This property holds the process id of this QWaylandClient.
Access functions:
qint64 | processId() const |
userId : const qint64
This property holds the user id of this QWaylandClient.
Access functions:
qint64 | userId() const |
Member Function Documentation
[slot]
void QWaylandClient::close()
Closes the client.
[override virtual]
QWaylandClient::~QWaylandClient()
Destroys the QWaylandClient.
wl_client *QWaylandClient::client() const
Returns the Wayland client of this QWaylandClient.
[static]
QWaylandClient *QWaylandClient::fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient)
Returns the 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.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.