Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtWayland::WindowSystemEventHandler Class Reference
+ Inheritance diagram for QtWayland::WindowSystemEventHandler:
+ Collaboration diagram for QtWayland::WindowSystemEventHandler:

Public Member Functions

 WindowSystemEventHandler (QWaylandCompositor *c)
 
bool sendEvent (QWindowSystemInterfacePrivate::WindowSystemEvent *e) override
 
void handleKeyEvent (QWindowSystemInterfacePrivate::KeyEvent *ke)
 
- Public Member Functions inherited from QWindowSystemEventHandler
virtual ~QWindowSystemEventHandler ()
 

Public Attributes

QWaylandCompositorcompositor = nullptr
 

Detailed Description

Definition at line 70 of file qwaylandcompositor.cpp.

Constructor & Destructor Documentation

◆ WindowSystemEventHandler()

QtWayland::WindowSystemEventHandler::WindowSystemEventHandler ( QWaylandCompositor * c)
inline

Definition at line 73 of file qwaylandcompositor.cpp.

Member Function Documentation

◆ handleKeyEvent()

void QtWayland::WindowSystemEventHandler::handleKeyEvent ( QWindowSystemInterfacePrivate::KeyEvent * ke)
inline

Definition at line 85 of file qwaylandcompositor.cpp.

References compositor, QWaylandKeyboardPrivate::get(), QEvent::KeyPress, QXkbCommon::keysymToQtKey(), QXkbCommon::lookupString(), QXkbCommon::modifiers(), QGuiApplication::platformName, QStringLiteral, QWindowSystemEventHandler::sendEvent(), and text.

+ Here is the call graph for this function:

◆ sendEvent()

bool QtWayland::WindowSystemEventHandler::sendEvent ( QWindowSystemInterfacePrivate::WindowSystemEvent * e)
inlineoverridevirtual

Reimplemented from QWindowSystemEventHandler.

Definition at line 74 of file qwaylandcompositor.cpp.

References QWindowSystemInterfacePrivate::Key, QWindowSystemEventHandler::sendEvent(), and QWindowSystemInterfacePrivate::WindowSystemEvent::type.

+ Here is the call graph for this function:

Member Data Documentation

◆ compositor

QWaylandCompositor* QtWayland::WindowSystemEventHandler::compositor = nullptr

Definition at line 132 of file qwaylandcompositor.cpp.


The documentation for this class was generated from the following file: