summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/summary/kcmkontactsummary.cpp
diff options
context:
space:
mode:
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 f3eae0121..d880f153b 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 );
}