5#include <QtWaylandCompositor/QWaylandSurface>
22 uint32_t
time = m_compositor->currentTimeMsecs();
28 surface ? surface->
resource() :
nullptr,
29 time,
event->type(),
event->key(),
event->modifiers(),
30 event->nativeScanCode(),
31 event->nativeVirtualKey(),
32 event->nativeModifiers(),
34 event->isAutoRepeat(),
47#include "moc_qwlqtkey_p.cpp"
The QKeyEvent class describes a key event.
\inmodule QtWaylandCompositor
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
struct wl_resource * resource() const
Returns the Wayland resource corresponding to this QWaylandSurface.
::wl_client * waylandClient() const
Holds the wl_client using this QWaylandSurface.
bool postQtKeyEvent(QKeyEvent *event, QWaylandSurface *surface)
QtKeyExtensionGlobal(QWaylandCompositor *compositor)
struct wl_display * display
Combined button and popup list for selecting options.
static QOpenGLCompositor * compositor