Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
KeyRecorder Struct Reference
Collaboration diagram for KeyRecorder:

Public Member Functions

KeyRecordfindKey (int code, bool remove)
void storeKey (int code, int ascii, int state, const QString &text)
void clearKeys ()
KeyRecordfindKey (int code, bool remove)
void storeKey (int code, int ascii, int state, const QString &text)
void clearKeys ()

Public Attributes

int nrecs = 0
KeyRecord deleted_record
KeyRecord records [QT_MAX_KEY_RECORDINGS]

Detailed Description

Definition at line 117 of file qwindowskeymapper.cpp.

Member Function Documentation

◆ clearKeys() [1/2]

void KeyRecorder::clearKeys ( )
inline

Definition at line 171 of file qwindowskeymapper.cpp.

References nrecs.

Referenced by clearKeyRecorderOnApplicationInActive().

Here is the caller graph for this function:

◆ clearKeys() [2/2]

void KeyRecorder::clearKeys ( )
inline

◆ findKey() [1/2]

KeyRecord * KeyRecorder::findKey ( int code,
bool remove )
inline

Definition at line 135 of file qwindowskeymapper.cpp.

References nrecs.

◆ findKey() [2/2]

KeyRecord * KeyRecorder::findKey ( int code,
bool remove )
inline

◆ storeKey() [1/2]

void KeyRecorder::storeKey ( int code,
int ascii,
int state,
const QString & text )
inline

Definition at line 158 of file qwindowskeymapper.cpp.

References nrecs, and QT_MAX_KEY_RECORDINGS.

◆ storeKey() [2/2]

void KeyRecorder::storeKey ( int code,
int ascii,
int state,
const QString & text )
inline

Member Data Documentation

◆ deleted_record

KeyRecord KeyRecorder::deleted_record

Definition at line 124 of file qwindowskeymapper.cpp.

◆ nrecs

int KeyRecorder::nrecs = 0

Definition at line 123 of file qwindowskeymapper.cpp.

Referenced by clearKeys(), findKey(), and storeKey().

◆ records

KeyRecord KeyRecorder::records

Definition at line 125 of file qwindowskeymapper.cpp.


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