summaryrefslogtreecommitdiffstats
path: root/kxkb/kxkb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxkb/kxkb.cpp')
-rw-r--r--kxkb/kxkb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kxkb/kxkb.cpp b/kxkb/kxkb.cpp
index 43e9f8046..06b64e59a 100644
--- a/kxkb/kxkb.cpp
+++ b/kxkb/kxkb.cpp
@@ -73,7 +73,7 @@ KXKBApp::KXKBApp(bool allowStyles, bool GUIenabled)
}
// keep in sync with kcmlayout.cpp
- keys = new KGlobalAccel(this);
+ keys = new KGlobalAccel(TQT_TQOBJECT(this));
#include "kxkbbindings.cpp"
keys->updateConnections();
@@ -217,8 +217,8 @@ void KXKBApp::layoutApply()
bool KXKBApp::setLayout(const TQString& layoutPair)
{
const LayoutUnit layoutUnitKey(layoutPair);
- if( kxkbConfig.m_layouts.contains(layoutUnitKey) ) {
- return setLayout( *kxkbConfig.m_layouts.find(layoutUnitKey) );
+ if( kxkbConfig.m_layouts.tqcontains(layoutUnitKey) ) {
+ return setLayout( *kxkbConfig.m_layouts.tqfind(layoutUnitKey) );
}
return false;
}