summaryrefslogtreecommitdiffstats
path: root/src/kicondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kicondialog.cpp')
-rw-r--r--src/kicondialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kicondialog.cpp b/src/kicondialog.cpp
index a812e85..d7c7837 100644
--- a/src/kicondialog.cpp
+++ b/src/kicondialog.cpp
@@ -106,8 +106,8 @@ void KIconDialog::init()
setCustomLocation(TQString()); // Initialize mFileList
// Read configuration
- KConfig *config = TDEGlobal::config();
- KConfigGroupSaver saver(config, "KIconDialog");
+ TDEConfig *config = TDEGlobal::config();
+ TDEConfigGroupSaver saver(config, "KIconDialog");
d->recentMax = config->readNumEntry("RecentMax", 10);
d->recentList = config->readPathListEntry("RecentIcons");
@@ -143,8 +143,8 @@ void KIconDialog::init()
KIconDialog::~KIconDialog()
{
// Write configuration
- KConfig *config = TDEGlobal::config();
- KConfigGroupSaver saver(config, "KIconDialog");
+ TDEConfig *config = TDEGlobal::config();
+ TDEConfigGroupSaver saver(config, "KIconDialog");
config->writeEntry("RecentMax", d->recentMax, true, true);
config->writePathEntry("RecentIcons", d->recentList, ',', true, true);