![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qxcbkeyboard.h>
Public Member Functions | |
| QXcbKeyboard (QXcbConnection *connection) | |
| ~QXcbKeyboard () | |
| void | initialize () |
| void | selectEvents () |
| void | handleKeyPressEvent (const xcb_key_press_event_t *eventevent) |
| void | handleKeyReleaseEvent (const xcb_key_release_event_t *eventevent) |
| Qt::KeyboardModifiers | translateModifiers (int ss) const |
| void | updateKeymap (xcb_mapping_notify_event_t *eventevent) |
| void | updateKeymap () |
| QList< QKeyCombination > | possibleKeyCombinations (const QKeyEvent *eventevent) const override |
| Qt::KeyboardModifiers | queryKeyboardModifiers () const override |
| void | updateXKBMods () |
| xkb_mod_mask_t | xkbModMask (quint16 state) |
| void | updateXKBStateFromCore (quint16 state) |
| void | updateXKBStateFromXI (void *modInfo, void *groupInfo) |
| int | coreDeviceId () const |
| void | updateXKBState (xcb_xkb_state_notify_event_t *state) |
| void | handleStateChanges (xkb_state_component changedComponents) |
| Public Member Functions inherited from QXcbObject | |
| QXcbObject (QXcbConnection *connection=nullptr) | |
| void | setConnection (QXcbConnection *connection) |
| QXcbConnection * | connection () const |
| xcb_atom_t | atom (QXcbAtom::Atom atom) const |
| xcb_connection_t * | xcb_connection () const |
| Public Member Functions inherited from QPlatformKeyMapper | |
| virtual | ~QPlatformKeyMapper () |
Protected Types | |
| typedef QMap< xcb_keysym_t, int > | KeysymModifierMap |
Protected Member Functions | |
| void | handleKeyEvent (xcb_window_t sourceWindow, QEvent::Type typetype, xcb_keycode_t code, quint16 state, xcb_timestamp_t time, bool fromSendEvent) |
| void | resolveMaskConflicts () |
| struct xkb_keymap * | keymapFromCore (const KeysymModifierMap &keysymMods) |
| void | updateModifiers (const KeysymModifierMap &keysymMods) |
| KeysymModifierMap | keysymsToModifiers () |
| void | updateVModMapping () |
| void | updateVModToRModMapping () |
Definition at line 23 of file qxcbkeyboard.h.
|
protected |
Definition at line 59 of file qxcbkeyboard.h.
| QXcbKeyboard::QXcbKeyboard | ( | QXcbConnection * | connection | ) |
Definition at line 503 of file qxcbkeyboard.cpp.
| QXcbKeyboard::~QXcbKeyboard | ( | ) |
Definition at line 521 of file qxcbkeyboard.cpp.
|
inline |
Definition at line 48 of file qxcbkeyboard.h.
|
protected |
Definition at line 838 of file qxcbkeyboard.cpp.
References QXcbEventQueue::PeekRetainMatch.
| void QXcbKeyboard::handleKeyPressEvent | ( | const xcb_key_press_event_t * | event | ) |
Definition at line 925 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::handleKeyReleaseEvent | ( | const xcb_key_release_event_t * | event | ) |
Definition at line 930 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::handleStateChanges | ( | xkb_state_component | changedComponents | ) |
Definition at line 458 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::initialize | ( | ) |
Definition at line 527 of file qxcbkeyboard.cpp.
|
protected |
Definition at line 84 of file qxcbkeyboard.cpp.
References getUnshiftedXKey().
|
protected |
Definition at line 727 of file qxcbkeyboard.cpp.
|
overridevirtual |
Reimplemented from QPlatformKeyMapper.
Definition at line 383 of file qxcbkeyboard.cpp.
|
overridevirtual |
Reimplemented from QPlatformKeyMapper.
Definition at line 389 of file qxcbkeyboard.cpp.
|
protected |
Definition at line 814 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::selectEvents | ( | ) |
Definition at line 533 of file qxcbkeyboard.cpp.
| QT_BEGIN_NAMESPACE Qt::KeyboardModifiers QXcbKeyboard::translateModifiers | ( | int | s | ) | const |
Definition at line 23 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::updateKeymap | ( | ) |
Definition at line 335 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::updateKeymap | ( | xcb_mapping_notify_event_t * | event | ) |
Definition at line 326 of file qxcbkeyboard.cpp.
|
protected |
Definition at line 695 of file qxcbkeyboard.cpp.
|
protected |
Definition at line 567 of file qxcbkeyboard.cpp.
|
protected |
Definition at line 628 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::updateXKBMods | ( | ) |
Definition at line 491 of file qxcbkeyboard.cpp.
| void QXcbKeyboard::updateXKBState | ( | xcb_xkb_state_notify_event_t * | state | ) |
Definition at line 397 of file qxcbkeyboard.cpp.
Definition at line 418 of file qxcbkeyboard.cpp.
Definition at line 440 of file qxcbkeyboard.cpp.
| xkb_mod_mask_t QXcbKeyboard::xkbModMask | ( | quint16 | state | ) |
Definition at line 467 of file qxcbkeyboard.cpp.