KDEUI
kkeyserver_x11.h
Go to the documentation of this file.
Defines platform-independent classes for keyboard shortcut handling.
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
uint modXScrollLock()
Returns the X11 ScrollLock modifier mask/flag.
Definition: kkeyserver_x11.cpp:649
uint modXModeSwitch()
Returns the X11 Mode_switch modifier mask/flag.
Definition: kkeyserver_x11.cpp:650
bool keyboardHasMetaKey()
Returns true if the current keyboard layout supports the Meta key.
Definition: kkeyserver_x11.cpp:652
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
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
uint accelModMaskX()
Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and Win (if available).
Definition: kkeyserver_x11.cpp:811
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 keyQtToCodeX(int keyQt, int *keyCode)
Extracts the code from the given Qt key.
Definition: kkeyserver_x11.cpp:686
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.