diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/keys/shortcuts.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/keys/shortcuts.cpp')
-rw-r--r-- | kcontrol/keys/shortcuts.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/keys/shortcuts.cpp b/kcontrol/keys/shortcuts.cpp index 3dac9dcf7..e45953056 100644 --- a/kcontrol/keys/shortcuts.cpp +++ b/kcontrol/keys/shortcuts.cpp @@ -107,8 +107,8 @@ void ShortcutsModule::initGUI() TQString kde_winkeys_env_dir = TDEGlobal::dirs()->localtdedir() + "/env/"; kdDebug(125) << "A-----------" << endl; - KAccelActions* keys = &m_actionsGeneral; -// see also KShortcutsModule::init() below !!! + TDEAccelActions* keys = &m_actionsGeneral; +// see also TDEShortcutsModule::init() below !!! #define NOSLOTS #define KICKER_ALL_BINDINGS #include "../../twin/twinbindings.cpp" @@ -187,7 +187,7 @@ void ShortcutsModule::initGUI() // Yes, it does, so Win is a key m_bUseRmWinKeys = false; } - m_pListGeneral = new KAccelShortcutList( m_actionsGeneral, true ); + m_pListGeneral = new TDEAccelShortcutList( m_actionsGeneral, true ); m_pkcGeneral = new KKeyChooser( m_pListGeneral, this, KKeyChooser::Global, false ); m_pkcGeneral->resize (m_pkcGeneral->sizeHint() ); @@ -201,12 +201,12 @@ void ShortcutsModule::initGUI() m_pTab->addTab( m_pkcGeneral, i18n("&Global Shortcuts") ); connect( m_pkcGeneral, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); - m_pListSequence = new KAccelShortcutList( m_actionsSequence, true ); + m_pListSequence = new TDEAccelShortcutList( m_actionsSequence, true ); m_pkcSequence = new KKeyChooser( m_pListSequence, this, KKeyChooser::Global, false ); m_pTab->addTab( m_pkcSequence, i18n("Shortcut Se&quences") ); connect( m_pkcSequence, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); - m_pListApplication = new KStdAccel::ShortcutList; + m_pListApplication = new TDEStdAccel::ShortcutList; m_pkcApplication = new KKeyChooser( m_pListApplication, this, KKeyChooser::Standard, false ); m_pTab->addTab( m_pkcApplication, i18n("App&lication Shortcuts") ); connect( m_pkcApplication, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); @@ -222,7 +222,7 @@ void ShortcutsModule::initGUI() void ShortcutsModule::createActionsGeneral() { - KAccelActions& actions = m_actionsGeneral; + TDEAccelActions& actions = m_actionsGeneral; for( uint i = 0; i < actions.count(); i++ ) { TQString sConfigKey = actions[i].name(); @@ -243,7 +243,7 @@ void ShortcutsModule::createActionsGeneral() void ShortcutsModule::createActionsSequence() { - KAccelActions& actions = m_actionsSequence; + TDEAccelActions& actions = m_actionsSequence; for( uint i = 0; i < actions.count(); i++ ) { TQString sConfigKey = actions[i].name(); @@ -410,7 +410,7 @@ void ShortcutsModule::slotSaveSchemeAs() TQDir dir( kksPath ); if( !dir.exists() && !dir.mkdir( kksPath ) ) { - tqWarning("KShortcutsModule: Could not make directory to store user info."); + tqWarning("TDEShortcutsModule: Could not make directory to store user info."); return; } |