diff options
Diffstat (limited to 'korganizer/plugins/datenums')
-rw-r--r-- | korganizer/plugins/datenums/configdialog.cpp | 4 | ||||
-rw-r--r-- | korganizer/plugins/datenums/datenums.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp index 3766e2ffd..6b8746db5 100644 --- a/korganizer/plugins/datenums/configdialog.cpp +++ b/korganizer/plugins/datenums/configdialog.cpp @@ -58,7 +58,7 @@ ConfigDialog::~ConfigDialog() void ConfigDialog::load() { - KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals + TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals config.setGroup("Calendar/DateNum Plugin"); int datenum = config.readNumEntry( "ShowDayNumbers", 0 ); mDayNumGroup->setButton( datenum ); @@ -66,7 +66,7 @@ void ConfigDialog::load() void ConfigDialog::save() { - KConfig config( "korganizerrc", false, false); // Open read-write, no kdeglobals + TDEConfig config( "korganizerrc", false, false); // Open read-write, no kdeglobals config.setGroup("Calendar/DateNum Plugin"); config.writeEntry("ShowDayNumbers", mDayNumGroup->selectedId() ); config.sync(); diff --git a/korganizer/plugins/datenums/datenums.cpp b/korganizer/plugins/datenums/datenums.cpp index af022837e..9ef6068b9 100644 --- a/korganizer/plugins/datenums/datenums.cpp +++ b/korganizer/plugins/datenums/datenums.cpp @@ -35,7 +35,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_datenums, DatenumsFactory ) Datenums::Datenums() { - KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals + TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals config.setGroup("Calendar/DateNum Plugin"); mDateNum = config.readNumEntry( "ShowDayNumbers", 0 ); } |