diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 21:40:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 21:40:24 -0600 |
commit | 5f88d03c1ad294b7fcfc3840827b3144fb060ab0 (patch) | |
tree | a8f3b537f9f2b4c7c95d61e41d63e45cd48d736e /extra/kde340/kkeyserver_x11.h | |
parent | b3eb7db733f6ad6a905ce127841ea932b184784c (diff) | |
download | pytde-5f88d03c1ad294b7fcfc3840827b3144fb060ab0.tar.gz pytde-5f88d03c1ad294b7fcfc3840827b3144fb060ab0.zip |
Rename additional instances of KDE to TDE
Diffstat (limited to 'extra/kde340/kkeyserver_x11.h')
-rw-r--r-- | extra/kde340/kkeyserver_x11.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/extra/kde340/kkeyserver_x11.h b/extra/kde340/kkeyserver_x11.h index dbd983f..63fcb63 100644 --- a/extra/kde340/kkeyserver_x11.h +++ b/extra/kde340/kkeyserver_x11.h @@ -44,7 +44,7 @@ namespace KKeyServer * @see KKey * @see KKeyServer */ - struct KDECORE_EXPORT Sym + struct TDECORE_EXPORT Sym { public: /// the actual value of the symbol @@ -134,7 +134,7 @@ namespace KKeyServer * Represents a key press. * @see KKey */ - struct KDECORE_EXPORT Key + struct TDECORE_EXPORT Key { /// Code for native Keys in Qt enum { CODE_FOR_QT = 256 }; @@ -241,7 +241,7 @@ namespace KKeyServer /** * TODO: please document this class */ - struct KDECORE_EXPORT Variations + struct TDECORE_EXPORT Variations { enum { MAX_VARIATIONS = 4 }; @@ -257,14 +257,14 @@ namespace KKeyServer }; /// TODO: please document - KDECORE_EXPORT bool initializeMods(); + TDECORE_EXPORT bool initializeMods(); /** * Returns the equivalent X modifier mask of the given modifier flag. * @param modFlag the generic flags to check * @return the window system specific flags */ - KDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); + TDECORE_EXPORT uint modX( KKey::ModFlag modFlag ); /** * Returns true if the current keyboard layout supports the Win key. @@ -272,42 +272,42 @@ namespace KKeyServer * @return true if the keyboard has a Win key * @see modXWin() */ - KDECORE_EXPORT bool keyboardHasWinKey(); + TDECORE_EXPORT bool keyboardHasWinKey(); /** * Returns the X11 Shift modifier mask/flag. * @return the X11 Shift modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXShift(); + TDECORE_EXPORT uint modXShift(); /** * Returns the X11 Lock modifier mask/flag. * @return the X11 Lock modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXLock(); + TDECORE_EXPORT uint modXLock(); /** * Returns the X11 Ctrl modifier mask/flag. * @return the X11 Ctrl modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXCtrl(); + TDECORE_EXPORT uint modXCtrl(); /** * Returns the X11 Alt (Mod1) modifier mask/flag. * @return the X11 Alt (Mod1) modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXAlt(); + TDECORE_EXPORT uint modXAlt(); /** * Returns the X11 NumLock modifier mask/flag. * @return the X11 NumLock modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXNumLock(); + TDECORE_EXPORT uint modXNumLock(); /** * Returns the X11 Win (Mod3) modifier mask/flag. @@ -315,14 +315,14 @@ namespace KKeyServer * @see keyboardHasWinKey() * @see accelModMaskX() */ - KDECORE_EXPORT uint modXWin(); + TDECORE_EXPORT uint modXWin(); /** * Returns the X11 ScrollLock modifier mask/flag. * @return the X11 ScrollLock modifier mask/flag. * @see accelModMaskX() */ - KDECORE_EXPORT uint modXScrollLock(); + TDECORE_EXPORT uint modXScrollLock(); /** * Returns bitwise OR'ed mask containing Shift, Ctrl, Alt, and @@ -335,7 +335,7 @@ namespace KKeyServer * @see modXWin() * @see modXScrollLock() */ - KDECORE_EXPORT uint accelModMaskX(); + TDECORE_EXPORT uint accelModMaskX(); /** * Extracts the symbol from the given Qt key and @@ -346,7 +346,7 @@ namespace KKeyServer * @see Qt::Key * @see Sym */ - KDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); + TDECORE_EXPORT bool keyQtToSym( int keyQt, uint& sym ); /** * Extracts the modifiers from the given Qt key and @@ -356,7 +356,7 @@ namespace KKeyServer * @return true if successful, false otherwise * @see Qt::Key */ - KDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); + TDECORE_EXPORT bool keyQtToMod( int keyQt, uint& mod ); /** * Converts the given symbol to a Qt key code. @@ -366,7 +366,7 @@ namespace KKeyServer * @see Qt::Key * @see Sym */ - KDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); + TDECORE_EXPORT bool symToKeyQt( uint sym, int& keyQt ); /** * Converts the mask of ORed KKey::ModFlag modifiers to @@ -378,7 +378,7 @@ namespace KKeyServer * @see Qt::Key * @see KKey */ - KDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); + TDECORE_EXPORT bool modToModQt( uint mod, int& modQt ); /** * Converts the mask of ORed KKey::ModFlag modifiers to @@ -389,7 +389,7 @@ namespace KKeyServer * @return true if successful, false otherwise * @see KKey */ - KDECORE_EXPORT bool modToModX( uint mod, uint& modX ); + TDECORE_EXPORT bool modToModX( uint mod, uint& modX ); /** * Converts the mask of ORed X11 modifiers to @@ -401,12 +401,12 @@ namespace KKeyServer * @see Qt::Key */ //wrapped for win32 - KDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); + TDECORE_EXPORT bool modXToModQt( uint modX, int& modQt ); /** * Converts the Qt-compatible button state to x11 modifier. */ - KDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); + TDECORE_EXPORT int qtButtonStateToMod( Qt::ButtonState s ); /** * Converts the mask of ORed X11 modifiers to @@ -417,7 +417,7 @@ namespace KKeyServer * @return true if successful, false otherwise * @see KKey */ - KDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); + TDECORE_EXPORT bool modXToMod( uint modX, uint& mod ); /** * Converts a X11 key code and a mask of ORed X11 modifiers @@ -430,12 +430,12 @@ namespace KKeyServer * @see Qt::Key * @see Sym */ - KDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); + TDECORE_EXPORT bool codeXToSym( uchar codeX, uint modX, uint& symX ); /** * @internal */ - KDECORE_EXPORT QString modToStringInternal( uint mod ); + TDECORE_EXPORT QString modToStringInternal( uint mod ); /** * Converts the mask of ORed KKey::ModFlag modifiers to a @@ -443,19 +443,19 @@ namespace KKeyServer * @param mod the mask of ORed KKey::ModFlag modifiers * @return the user-readable string */ - KDECORE_EXPORT QString modToStringUser( uint mod ); + TDECORE_EXPORT QString modToStringUser( uint mod ); /** * @internal * Unimplemented? */ - KDECORE_EXPORT bool stringToSymMod( const QString&, uint& sym, uint& mod ); + TDECORE_EXPORT bool stringToSymMod( const QString&, uint& sym, uint& mod ); /** * @internal * Unimplemented? */ - KDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); + TDECORE_EXPORT void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); } #endif // !_KKEYSERVER_X11_H |