QWaylandApplication Structstruct QNativeInterface::QWaylandApplication
Native interface to a Wayland application. More...
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS Gui) |
target_link_libraries(mytarget PRIVATE Qt6::Gui)
|qmake:||QT += gui|
|virtual wl_compositor *||compositor() const = 0|
|virtual wl_display *||display() const = 0|
|virtual wl_keyboard *||keyboard() const = 0|
|virtual wl_seat *||lastInputSeat() const = 0|
|virtual uint||lastInputSerial() const = 0|
|virtual wl_pointer *||pointer() const = 0|
|virtual wl_touch *||touch() const = 0|
Accessed through QGuiApplication::nativeInterface().
Member Function Documentation
Returns the wl_compositor that the application is using.
Returns the wl_display that the application is using.
Returns the wl_keyboard belonging to seat() if available.
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.
Returns the wl_pointer belonging to seat() if available.
Returns the wl_touch belonging to seat() if available.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.