KDEUI
kkeyserver_x11.cpp
Go to the documentation of this file.
496 static uint g_modXNumLock, g_modXScrollLock, g_modXModeSwitch, g_alt_mask, g_meta_mask, g_super_mask, g_hyper_mask;
530 keySymX = XKeycodeToKeysym( QX11Info::display(), xmk->modifiermap[xmk->max_keypermod * i + j], k );
624 kWarning() << "Your keyboard setup doesn't provide a key to use for meta. See 'xmodmap -pm' or 'xkbcomp $DISPLAY'";
649 uint modXScrollLock() { if( !g_bInitializedMods ) { initializeMods(); } return g_modXScrollLock; }
650 uint modXModeSwitch() { if( !g_bInitializedMods ) { initializeMods(); } return g_modXModeSwitch; }
#define XF86XK_MonBrightnessDown
#define XF86XK_TopMenu
#define XF86XK_Go
#define XF86XK_Time
#define XF86XK_AudioForward
#define XF86XK_Reply
#define XF86XK_Launch1
#define XF86XK_TaskPane
#define XF86XK_KbdBrightnessDown
#define XF86XK_Forward
#define XF86XK_Spell
#define XF86XK_AudioPrev
#define XF86XK_Eject
#define XF86XK_Sleep
#define XF86XK_Documents
#define XF86XK_Option
#define XF86XK_OfficeHome
#define mask
#define XF86XK_LaunchB
#define XF86XK_RotateWindows
#define XF86XK_Launch5
Display * display()
#define XF86XK_AudioRaiseVolume
#define XF86XK_AudioMute
#define XF86XK_ToDoList
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool symXToKeyQt(uint keySym, int *keyQt)
Converts the given symbol to a Qt key code.
Definition: kkeyserver_x11.cpp:730
#define XF86XK_Launch7
#define XF86XK_Display
#define XF86XK_iTouch
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
#define XF86XK_AudioNext
#define XF86XK_Calendar
#define XF86XK_Book
#define XF86XK_Terminal
#define XF86XK_Excel
#define XF86XK_AudioRecord
#define XF86XK_View
#define XF86XK_KbdBrightnessUp
uint modXModeSwitch()
Returns the X11 Mode_switch modifier mask/flag.
Definition: kkeyserver_x11.cpp:650
#define XF86XK_LaunchA
#define I18N_NOOP(x)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define XF86XK_WebCam
#define XF86XK_Cut
#define XF86XK_HomePage
#define XF86XK_ContrastAdjust
#define XF86XK_Launch3
#define XF86XK_Tools
#define XF86XK_News
bool isLetter() const
#define XF86XK_Mail
#define XF86XK_KbdLightOnOff
#define XF86XK_AddFavorite
#define XF86XK_Launch8
#define XF86XK_AudioCycleTrack
QString number(int n, int base)
bool keyboardHasMetaKey()
Returns true if the current keyboard layout supports the Meta key.
Definition: kkeyserver_x11.cpp:652
#define XF86XK_LaunchD
#define XF86XK_AudioRepeat
#define XF86XK_Pictures
#define XF86XK_RotationKB
#define XF86XK_Standby
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
#define XF86XK_SplitScreen
#define XF86XK_Bluetooth
#define XF86XK_Market
#define XF86XK_Hibernate
#define XF86XK_Away
bool initializeMods()
Initialises the values to return for the mod*() functions below.
Definition: kkeyserver_x11.cpp:498
#define XF86XK_Clear
#define XF86XK_AudioRewind
#define XF86XK_Calculater
#define XF86XK_MonBrightnessUp
#define XF86XK_Paste
#define XF86XK_Subtitle
#define XF86XK_ScreenSaver
#define XF86XK_AudioLowerVolume
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
#define XF86XK_OpenURL
#define XF86XK_AudioStop
ushort unicode() const
#define XF86XK_AudioPlay
#define XF86XK_PowerDown
#define XF86XK_MenuPB
#define XF86XK_Send
#define XF86XK_BackForward
#define XF86XK_Xfer
#define XF86XK_Launch2
#define XF86XK_Suspend
#define XF86XK_Phone
#define XF86XK_Launch9
#define XF86XK_LaunchC
QChar toLower() const
#define XF86XK_UWB
#define XF86XK_WakeUp
#define XF86XK_Copy
#define XF86XK_Back
#define XF86XK_Community
#define XF86XK_Launch4
#define XF86XK_AudioMedia
#define XF86XK_Battery
#define XF86XK_Launch0
#define XF86XK_Search
#define XF86XK_Stop
#define XF86XK_DOS
#define XF86XK_BrightnessAdjust
#define XF86XK_Support
#define XF86XK_AudioRandomPlay
#define XF86XK_Memo
QChar toUpper() const
#define XF86XK_Finance
#define XF86XK_Music
#define XF86XK_Save
#define XF86XK_Video
#define XF86XK_ZoomOut
#define XF86XK_Select
#define XF86XK_ZoomIn
#define XF86XK_HotLinks
#define XF86XK_Word
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define XF86XK_Launch6
#define XF86XK_Messenger
#define XF86XK_MySites
#define XF86XK_MyComputer
#define XF86XK_LogOff
#define XF86XK_WLAN
#define XF86XK_Shop
#define XF86XK_MailForward
#define XF86XK_WWW
#define XF86XK_Explorer
#define XF86XK_Travel
#define XF86XK_Meeting
#define XF86XK_ClearGrab
#define XF86XK_PowerOff
#define XF86XK_RotationPB
#define XF86XK_ApplicationRight
#define XF86XK_Game
#define XF86XK_ApplicationLeft
#define XF86XK_CD
#define XF86XK_MenuKB
#define XF86XK_Reload
#define XF86XK_Close
uint accelModMaskX()
Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and Win (if available).
Definition: kkeyserver_x11.cpp:811
#define XF86XK_LightBulb
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
#define XF86XK_Favorites
#define XF86XK_History
bool codeXToSym(uchar codeX, uint modX, uint *sym)
Definition: kkeyserver_x11.cpp:793
#define XF86XK_Refresh
bool keyQtToCodeX(int keyQt, int *keyCode)
Extracts the code from the given Qt key.
Definition: kkeyserver_x11.cpp:686
#define XF86XK_Calculator
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.