summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/summary/kcmkontactsummary.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kontact/plugins/summary/kcmkontactsummary.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kontact/plugins/summary/kcmkontactsummary.cpp')
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kontact/plugins/summary/kcmkontactsummary.cpp b/kontact/plugins/summary/kcmkontactsummary.cpp
index f3eae012..d880f153 100644
--- a/kontact/plugins/summary/kcmkontactsummary.cpp
+++ b/kontact/plugins/summary/kcmkontactsummary.cpp
@@ -43,7 +43,7 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kontactsummary( TQWidget *parent, const char * ) {
+ KDE_EXPORT TDECModule *create_kontactsummary( TQWidget *parent, const char * ) {
return new KCMKontactSummary( parent, "kcmkontactsummary" );
}
}
@@ -91,7 +91,7 @@ PluginView::~PluginView()
}
KCMKontactSummary::KCMKontactSummary( TQWidget *parent, const char *name )
- : KCModule( parent, name )
+ : TDECModule( parent, name )
{
TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
@@ -124,7 +124,7 @@ void KCMKontactSummary::load()
TQStringList activeSummaries;
- KConfig config( "kontact_summaryrc" );
+ TDEConfig config( "kontact_summaryrc" );
if ( !config.hasKey( "ActiveSummaries" ) ) {
activeSummaries << "kontact_kaddressbookplugin";
activeSummaries << "kontact_specialdatesplugin";
@@ -142,8 +142,8 @@ void KCMKontactSummary::load()
mPluginList = KPluginInfo::fromServices( offers, &config, "Plugins" );
KPluginInfo::List::Iterator it;
- KConfig *conf = new KConfig("kontactrc");
- KConfigGroup *cg = new KConfigGroup( conf, "Plugins" );
+ TDEConfig *conf = new TDEConfig("kontactrc");
+ TDEConfigGroup *cg = new TDEConfigGroup( conf, "Plugins" );
for ( it = mPluginList.begin(); it != mPluginList.end(); ++it ) {
(*it)->load( cg );
@@ -174,7 +174,7 @@ void KCMKontactSummary::save()
++it;
}
- KConfig config( "kontact_summaryrc" );
+ TDEConfig config( "kontact_summaryrc" );
config.writeEntry( "ActiveSummaries", activeSummaries );
}