IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QWaylandClient Class

The QWaylandClient class represents a client connecting to the QWaylandCompositor.

This class was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QWaylandClient Class

  • Header: QWaylandClient

  • Since: Qt 5.8

  • qmake: QT += waylandcompositor

  • Inherits: QObject

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

 

[read-only] compositor : QWaylandCompositor* const

This property holds the compositor of this QWaylandClient.

Access functions:

  • QWaylandCompositor *compositor() const

[read-only] groupId : const qint64

This property holds the group id of this QWaylandClient.

Access functions:

  • groupId() const

[read-only] processId : const qint64

This property holds the process id of this QWaylandClient.

Access functions:

  • processId() const

[read-only] userId : const qint64

This property holds the user id of this QWaylandClient.

Access functions:

  • userId() const

Member Function Documentation

 

[override virtual] QWaylandClient::~QWaylandClient()

Destroys the QWaylandClient.

wl_client *QWaylandClient::client() const

Returns the Wayland client of this QWaylandClient.

void QWaylandClient::close()

Closes the client.

[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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+