KDEUI
kkeyserver_x11.h
Go to the documentation of this file.
Defines platform-independent classes for keyboard shortcut handling.
A collection of functions for the conversion of key presses and their modifiers from the window syste...
Definition: kkeyserver.cpp:31
uint modXModeSwitch()
Returns the X11 Mode_switch modifier mask/flag.
Definition: kkeyserver_x11.cpp:650
bool symXToKeyQt(uint keySym, int *keyQt)
Converts the given symbol to a Qt key code.
Definition: kkeyserver_x11.cpp:730
bool xEventToQt(XEvent *e, int *keyQt)
Converts an X keypress event into a Qt key + modifier code.
Definition: kkeyserver_x11.cpp:817
bool keyboardHasMetaKey()
Returns true if the current keyboard layout supports the Meta key.
Definition: kkeyserver_x11.cpp:652
bool keyQtToCodeX(int keyQt, int *keyCode)
Extracts the code from the given Qt key.
Definition: kkeyserver_x11.cpp:686
bool modXToQt(uint modX, int *modQt)
Converts the mask of ORed X11 modifiers to a mask of ORed Qt key code modifiers.
Definition: kkeyserver_x11.cpp:777
bool keyQtToSymX(int keyQt, int *keySym)
Extracts the symbol from the given Qt key and converts it to an X11 symbol + modifiers.
Definition: kkeyserver_x11.cpp:706
uint accelModMaskX()
Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and Win (if available).
Definition: kkeyserver_x11.cpp:811
uint modXScrollLock()
Returns the X11 ScrollLock modifier mask/flag.
Definition: kkeyserver_x11.cpp:649
bool initializeMods()
Initialises the values to return for the mod*() functions below.
Definition: kkeyserver_x11.cpp:498
bool keyQtToModX(int modQt, uint *modX)
Extracts the modifiers from the given Qt key and converts them in a mask of X11 modifiers.
Definition: kkeyserver_x11.cpp:757
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.