summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/plugins/autoreplace
parentc48e769eb275917717e2b55eb869f7e559293ac8 (diff)
downloadtdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz
tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kopete/plugins/autoreplace')
-rw-r--r--kopete/plugins/autoreplace/autoreplaceconfig.cpp4
-rw-r--r--kopete/plugins/autoreplace/autoreplacepreferences.cpp2
-rw-r--r--kopete/plugins/autoreplace/kopete_autoreplace_config.desktop2
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