diff options
Diffstat (limited to 'kopete/plugins/autoreplace')
-rw-r--r-- | kopete/plugins/autoreplace/autoreplaceconfig.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/autoreplace/autoreplacepreferences.cpp | 2 | ||||
-rw-r--r-- | kopete/plugins/autoreplace/kopete_autoreplace_config.desktop | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/autoreplace/autoreplaceconfig.cpp b/kopete/plugins/autoreplace/autoreplaceconfig.cpp index 96de543f..0ce547cb 100644 --- a/kopete/plugins/autoreplace/autoreplaceconfig.cpp +++ b/kopete/plugins/autoreplace/autoreplaceconfig.cpp @@ -30,7 +30,7 @@ AutoReplaceConfig::AutoReplaceConfig() // reload configuration reading it from kopeterc void AutoReplaceConfig::load() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup( "AutoReplace Plugin" ); TQStringList wordsList = config->readListEntry( "WordsToReplace" ); @@ -113,7 +113,7 @@ AutoReplaceConfig::WordsToReplace AutoReplaceConfig::map() const void AutoReplaceConfig::save() { - KConfig * config = TDEGlobal::config(); + TDEConfig * config = TDEGlobal::config(); config->setGroup( "AutoReplace Plugin" ); TQStringList newWords; diff --git a/kopete/plugins/autoreplace/autoreplacepreferences.cpp b/kopete/plugins/autoreplace/autoreplacepreferences.cpp index 7c035e24..48062fb5 100644 --- a/kopete/plugins/autoreplace/autoreplacepreferences.cpp +++ b/kopete/plugins/autoreplace/autoreplacepreferences.cpp @@ -190,7 +190,7 @@ void AutoReplacePreferences::slotSelectionChanged() void AutoReplacePreferences::slotWidgetModified() { - emit KCModule::changed( m_wordListChanged || autoConfig()->hasChanged() ); + emit TDECModule::changed( m_wordListChanged || autoConfig()->hasChanged() ); } void AutoReplacePreferences::defaults() diff --git a/kopete/plugins/autoreplace/kopete_autoreplace_config.desktop b/kopete/plugins/autoreplace/kopete_autoreplace_config.desktop index 28364f60..1dc4ec3e 100644 --- a/kopete/plugins/autoreplace/kopete_autoreplace_config.desktop +++ b/kopete/plugins/autoreplace/kopete_autoreplace_config.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Icon=color Type=Service -ServiceTypes=KCModule +ServiceTypes=TDECModule X-TDE-ModuleType=Library X-TDE-Library=kopete_autoreplace |