From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kontact/plugins/korganizer/kcmkorgsummary.cpp | 8 ++++---- kontact/plugins/korganizer/kcmkorgsummary.desktop | 2 +- kontact/plugins/korganizer/kcmkorgsummary.h | 2 +- kontact/plugins/korganizer/summarywidget.cpp | 2 +- kontact/plugins/korganizer/todosummarywidget.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kontact/plugins/korganizer') diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp index 48b6d3c8..203055d5 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.cpp +++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp @@ -41,14 +41,14 @@ extern "C" { - KDE_EXPORT KCModule *create_korgsummary( TQWidget *parent, const char * ) + KDE_EXPORT TDECModule *create_korgsummary( TQWidget *parent, const char * ) { return new KCMKOrgSummary( parent, "kcmkorgsummary" ); } } KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name ) - : KCModule( parent, name ) + : TDECModule( parent, name ) { initGUI(); @@ -135,7 +135,7 @@ void KCMKOrgSummary::initGUI() void KCMKOrgSummary::load() { - KConfig config( "kcmkorgsummaryrc" ); + TDEConfig config( "kcmkorgsummaryrc" ); config.setGroup( "Calendar" ); int days = config.readNumEntry( "DaysToShow", 1 ); @@ -166,7 +166,7 @@ void KCMKOrgSummary::load() void KCMKOrgSummary::save() { - KConfig config( "kcmkorgsummaryrc" ); + TDEConfig config( "kcmkorgsummaryrc" ); config.setGroup( "Calendar" ); diff --git a/kontact/plugins/korganizer/kcmkorgsummary.desktop b/kontact/plugins/korganizer/kcmkorgsummary.desktop index bb89934b..4485a514 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.desktop +++ b/kontact/plugins/korganizer/kcmkorgsummary.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Icon=kontact_date Type=Service -ServiceTypes=KCModule +ServiceTypes=TDECModule X-TDE-ModuleType=Library X-TDE-Library=korgsummary diff --git a/kontact/plugins/korganizer/kcmkorgsummary.h b/kontact/plugins/korganizer/kcmkorgsummary.h index 21655785..216e89d1 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.h +++ b/kontact/plugins/korganizer/kcmkorgsummary.h @@ -29,7 +29,7 @@ class TQSpinxBox; class TQButtonGroup; -class KCMKOrgSummary : public KCModule +class KCMKOrgSummary : public TDECModule { Q_OBJECT diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp index bbd9be2b..d12081d6 100644 --- a/kontact/plugins/korganizer/summarywidget.cpp +++ b/kontact/plugins/korganizer/summarywidget.cpp @@ -85,7 +85,7 @@ void SummaryWidget::updateView() KIconLoader loader( "tdepim" ); - KConfig config( "kcmkorgsummaryrc" ); + TDEConfig config( "kcmkorgsummaryrc" ); config.setGroup( "Calendar" ); int days = config.readNumEntry( "DaysToShow", 1 ); diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp index b0cbf7d9..26ce828e 100644 --- a/kontact/plugins/korganizer/todosummarywidget.cpp +++ b/kontact/plugins/korganizer/todosummarywidget.cpp @@ -85,7 +85,7 @@ void TodoSummaryWidget::updateView() mLabels.clear(); mLabels.setAutoDelete( false ); - KConfig config( "kcmkorgsummaryrc" ); + TDEConfig config( "kcmkorgsummaryrc" ); config.setGroup( "Todo" ); bool showAllTodos = config.readBoolEntry( "ShowAllTodos", false ); -- cgit v1.2.3