Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qqnxscreeneventhandler.cpp File Reference
#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.

Macros

#define qScreenEventDebug   QT_NO_QDEBUG_MACRO
 

Functions

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)
 

Macro Definition Documentation

◆ qScreenEventDebug

#define qScreenEventDebug   QT_NO_QDEBUG_MACRO

Definition at line 23 of file qqnxscreeneventhandler.cpp.

Function Documentation

◆ capKeyString()

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

Definition at line 47 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 57 of file qqnxscreeneventhandler.cpp.

◆ finishCloseEvent() [2/2]

static void finishCloseEvent ( screen_event_t  event)
static

Definition at line 66 of file qqnxscreeneventhandler.cpp.

◆ keyString()

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

Definition at line 36 of file qqnxscreeneventhandler.cpp.

References category(), QChar::fromUcs4(), keyStringForPrivateUseQnxKey(), QChar::Other_NotAssigned, QChar::Other_PrivateUse, and Q_UNLIKELY.

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

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

◆ qtKey()

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

Definition at line 26 of file qqnxscreeneventhandler.cpp.

References category(), QChar::Other_NotAssigned, QChar::Other_PrivateUse, Q_UNLIKELY, qtKeyForPrivateUseQnxKey(), and QChar::toUpper().

+ Here is the call graph for this function: