summaryrefslogtreecommitdiffstats
path: root/kdecore/kkeynative_x11.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kkeynative_x11.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kkeynative_x11.cpp')
-rw-r--r--kdecore/kkeynative_x11.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdecore/kkeynative_x11.cpp b/kdecore/kkeynative_x11.cpp
index 7733d3de7..cef68022e 100644
--- a/kdecore/kkeynative_x11.cpp
+++ b/kdecore/kkeynative_x11.cpp
@@ -96,7 +96,7 @@ bool KKeyNative::init( const KKey& key )
m_mod = key.m_mod;
#elif !defined(Q_WS_WIN) && !defined(Q_WS_MACX)
// Get any extra mods required by the sym.
- // E.g., XK_Plus requires SHIFT on the en layout.
+ // E.g., XK_Plus requires SHIFT on the en tqlayout.
m_sym = key.sym();
uint modExtra = KKeyServer::Sym(m_sym).getModsRequired();
// Get the X modifier equivalent.
@@ -108,7 +108,7 @@ bool KKeyNative::init( const KKey& key )
// XKeysymToKeycode returns the wrong keycode for XK_Print and XK_Break.
// Specifically, it returns the code for SysReq instead of Print
- // Only do this for the default Xorg layout, other keycode mappings
+ // Only do this for the default Xorg tqlayout, other keycode mappings
// (e.g. evdev) don't need or want it.
if( m_sym == XK_Print && !(m_mod & Mod1Mask) &&
XKeycodeToKeysym( qt_xdisplay(), 111, 0 ) == XK_Print )
@@ -122,7 +122,7 @@ bool KKeyNative::init( const KKey& key )
if( !m_code && m_sym )
kdDebug(125) << "Couldn't get code for sym" << endl;
// Now get the true sym formed by the modifiers
- // E.g., Shift+Equal => Plus on the en layout.
+ // E.g., Shift+Equal => Plus on the en tqlayout.
if( key.modFlags() && ( ( m_sym < XK_Home || m_sym > XK_Begin ) &&
m_sym != XK_Insert && m_sym != XK_Delete ))
KKeyServer::codeXToSym( m_code, m_mod, m_sym );