From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kopete/plugins/autoreplace/autoreplaceconfig.cpp | 4 ++-- kopete/plugins/autoreplace/autoreplacepreferences.cpp | 2 +- kopete/plugins/autoreplace/kopete_autoreplace_config.desktop | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kopete/plugins/autoreplace') 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 -- cgit v1.2.1