QWaylandApplication Struct

struct QNativeInterface::QWaylandApplication

Native interface to a Wayland application. More...

Header: #include <QWaylandApplication>

Public Functions

int *compositor() const
int *display() const
int *keyboard() const
int *lastInputSeat() const
virtual uint lastInputSerial() const = 0
int *pointer() const
int *touch() const

Detailed Description

\since6.5

Accessed through QGuiApplication::nativeInterface(). \inmodule QtGui \ingroup native-interfaces \ingroup native-interfaces-qguiapplication

Member Function Documentation

int *QWaylandApplication::compositor() const

Returns the wl_compositor that the application is using.

int *QWaylandApplication::display() const

Returns the wl_display that the application is using.

int *QWaylandApplication::keyboard() const

Returns the wl_keyboard belonging to seat() if available.

int *QWaylandApplication::lastInputSeat() const

Returns the seat on which the last input event happened.

[pure virtual] uint QWaylandApplication::lastInputSerial() const

Returns the serial of the last input event on any seat.

int *QWaylandApplication::pointer() const

Returns the wl_pointer belonging to seat() if available.

int *QWaylandApplication::touch() const

Returns the wl_touch belonging to seat() if available.