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
qqnxscreeneventhandler.cpp File Reference

(4946982534d4d256590dffd44046fe642456703f)

#include "qqnxglobal.h"
#include "qqnxscreeneventhandler.h"
#include "qqnxscreeneventthread.h"
#include "qqnxintegration.h"
#include "qqnxkeytranslator.h"
#include "qqnxscreen.h"
#include "qqnxscreeneventfilter.h"
#include "qqnxscreentraits.h"
#include <QDebug>
#include <QGuiApplication>
#include <errno.h>
#include <sys/keycodes.h>
#include "moc_qqnxscreeneventhandler.cpp"
+ Include dependency graph for qqnxscreeneventhandler.cpp:

Go to the source code of this file.

Functions

 Q_LOGGING_CATEGORY (lcQpaScreenEvents, "qt.qpa.screen.events")
 
static int qtKey (int virtualKey, QChar::Category category)
 
static QString keyString (int sym, QChar::Category category)
 
static QString capKeyString (int cap, int modifiers, int key)
 
template<typename T >
static void finishCloseEvent (screen_event_t event)
 
static void finishCloseEvent (screen_event_t event)
 

Function Documentation

◆ capKeyString()

static QString capKeyString ( int cap,
int modifiers,
int key )
static

Definition at line 45 of file qqnxscreeneventhandler.cpp.

Referenced by QQnxScreenEventHandler::injectKeyboardEvent().

+ Here is the caller graph for this function:

◆ finishCloseEvent() [1/2]

template<typename T >
static void finishCloseEvent ( screen_event_t event)
static

Definition at line 55 of file qqnxscreeneventhandler.cpp.

◆ finishCloseEvent() [2/2]

static void finishCloseEvent ( screen_event_t event)
static

Definition at line 64 of file qqnxscreeneventhandler.cpp.

◆ keyString()

static QString keyString ( int sym,
QChar::Category category )
static

Definition at line 34 of file qqnxscreeneventhandler.cpp.

References category(), keyStringForPrivateUseQnxKey(), Q_UNLIKELY, and QStringView::toString().

Referenced by QWasmLocalStorageSettingsPrivate::children(), QWasmLocalStorageSettingsPrivate::get(), QQnxScreenEventHandler::injectKeyboardEvent(), and QWasmLocalStorageSettingsPrivate::set().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcQpaScreenEvents ,
"qt.qpa.screen.events"  )

◆ qtKey()

static int qtKey ( int virtualKey,
QChar::Category category )
static

Definition at line 24 of file qqnxscreeneventhandler.cpp.

References category(), Q_UNLIKELY, and qtKeyForPrivateUseQnxKey().

+ Here is the call graph for this function: