7#include <private/qobject_p.h>
10#include <private/qguiapplication_p.h>
11#include <qpa/qplatformintegration.h>
42 result <<
e->keyCombination().toCombined();
43 else if (!
e->text().isEmpty())
44 result << int(
e->text().at(0).unicode() + (
int)
e->modifiers());
102void *QKeyMapper::resolveInterface(
const char *
name,
int revision)
const
116#include "moc_qkeymapper_p.cpp"
static QWidgetList topLevelWidgets()
Returns a list of the top-level widgets (windows) in the application.
static QPlatformIntegration * platformIntegration()
The QKeyEvent class describes a key event.
QLocale keyboardInputLocale
QList< int > possibleKeys(QKeyEvent *e)
Qt::LayoutDirection keyboardInputDirection
static QList< int > possibleKeys(QKeyEvent *e)
static void changeKeyboard()
~QKeyMapper()
Destroys the key mapper.
QKeyMapper()
Constructs a new key mapper.
static QKeyMapper * instance()
Returns the pointer to the single instance of QKeyMapper in the application.
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
Qt::LayoutDirection textDirection() const
static QLocale system()
Returns a QLocale object initialized to the system locale.
Combined button and popup list for selecting options.
#define Q_GLOBAL_STATIC(TYPE, NAME,...)
QKeyMapperPrivate * qt_keymapper_private()
static QList< int > extractKeyFromEvent(QKeyEvent *e)
bool qt_sendSpontaneousEvent(QObject *receiver, QEvent *event)
#define QT_NATIVE_INTERFACE_RETURN_IF(NativeInterface, baseType)
GLfloat GLfloat GLfloat w
[0]