Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QAppleKeyMapper Class Reference

#include <qapplekeymapper_p.h>

+ Collaboration diagram for QAppleKeyMapper:

Public Member Functions

QList< int > possibleKeys (const QKeyEvent *event) const
 

Static Public Member Functions

static Qt::KeyboardModifiers queryKeyboardModifiers ()
 
static Qt::Key fromNSString (Qt::KeyboardModifiers qtMods, NSString *characters, NSString *charactersIgnoringModifiers, QString &text)
 
static Qt::Key fromUIKitKey (NSString *keyCode)
 
static Qt::KeyboardModifiers fromUIKitModifiers (ulong uikitModifiers)
 
static ulong toUIKitModifiers (Qt::KeyboardModifiers)
 

Detailed Description

Definition at line 30 of file qapplekeymapper_p.h.

Member Function Documentation

◆ fromNSString()

Qt::Key QAppleKeyMapper::fromNSString ( Qt::KeyboardModifiers  qtMods,
NSString *  characters,
NSString *  charactersIgnoringModifiers,
QString text 
)
static

◆ fromUIKitKey()

static Qt::Key QAppleKeyMapper::fromUIKitKey ( NSString *  keyCode)
static

◆ fromUIKitModifiers()

Qt::KeyboardModifiers QAppleKeyMapper::fromUIKitModifiers ( ulong  uikitModifiers)
static

Definition at line 654 of file qapplekeymapper.mm.

References Qt::NoModifier, swapModifiersIfNeeded(), and uiKitModifierMap.

+ Here is the call graph for this function:

◆ possibleKeys()

QList< int > QAppleKeyMapper::possibleKeys ( const QKeyEvent event) const

Referenced by QCocoaIntegration::possibleKeys().

+ Here is the caller graph for this function:

◆ queryKeyboardModifiers()

static Qt::KeyboardModifiers QAppleKeyMapper::queryKeyboardModifiers ( )
static

Referenced by QCocoaIntegration::queryKeyboardModifiers().

+ Here is the caller graph for this function:

◆ toUIKitModifiers()

ulong QAppleKeyMapper::toUIKitModifiers ( Qt::KeyboardModifiers  qtModifiers)
static

Definition at line 641 of file qapplekeymapper.mm.

References swapModifiersIfNeeded(), and uiKitModifierMap.

+ Here is the call graph for this function:

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