Namespace KKeyServer |
|
A collection of functions for the conversion of key presses and their modifiers from the window system specific format to the generic format and vice-versa. |
|
Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and
Win (if available).
See also modXShift() See also modXLock() See also modXCtrl() See also modXAlt() See also modXNumLock() See also modXWin() See also modXScrollLock() |
|
|
Extracts the code from the given Qt key.
keyQt - the qt key code keyCode - if successful, the symbol will be written here Returns true if successful, false otherwise |
|
Extracts the modifiers from the given Qt key and
converts them in a mask of X11 modifiers.
keyQt - the qt key code mod - if successful, the modifiers will be written here Returns true if successful, false otherwise |
|
Extracts the symbol from the given Qt key and
converts it to an X11 symbol + modifiers.
keyQt - the qt key code sym - if successful, the symbol will be written here Returns true if successful, false otherwise |
|
Returns true if the current keyboard layout supports the Meta key.
Specifically, whether the Super or Meta keys are assigned to an X modifier.
Returns true if the keyboard has a Meta key
See also modXMeta() |
|
Converts the mask of ORed KKey.ModFlag modifiers to a
user-readable string.
mod - the mask of ORed KKey.ModFlag modifiers Returns the user-readable string |
|
Returns the X11 Alt (Mod1) modifier mask/flag.
Returns the X11 Alt (Mod1) modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 Ctrl modifier mask/flag.
Returns the X11 Ctrl modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 Lock modifier mask/flag.
Returns the X11 Lock modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 Lock modifier mask/flag.
Returns the X11 Lock modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 Win (Mod3) modifier mask/flag.
Returns the X11 Win (Mod3) modifier mask/flag.
See also keyboardHasWinKey() See also accelModMaskX() |
|
Returns the X11 Mode_switch modifier mask/flag.
Returns the X11 Mode_switch modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 NumLock modifier mask/flag.
Returns the X11 NumLock modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 ScrollLock modifier mask/flag.
Returns the X11 ScrollLock modifier mask/flag.
See also accelModMaskX() |
|
Returns the X11 Shift modifier mask/flag.
Returns the X11 Shift modifier mask/flag.
See also accelModMaskX() |
|
Converts the mask of ORed X11 modifiers to
a mask of ORed Qt key code modifiers.
modX - the mask of X11 modifiers modQt - the mask of Qt key code modifiers will be written here if successful Returns true if successful, false otherwise |
|
Converts the modifier given as user-readable string to KKey.ModFlag modifier, or 0. Internal |
|
Converts the given symbol to a Qt key code.
sym - the symbol keyQt - if successful, the qt key code will be written here Returns true if successful, false otherwise |
|
Converts an X keypress event into a Qt key + modifier code
e - the X11 keypress event keyModQt - the Qt keycode and mask of Qt key code modifiers will be written here if successful Returns true if successful, false otherwise |