summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/folderstorage.cpp')
-rw-r--r--kmail/folderstorage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/folderstorage.cpp b/kmail/folderstorage.cpp
index bfc36b70a..00368e6d8 100644
--- a/kmail/folderstorage.cpp
+++ b/kmail/folderstorage.cpp
@@ -771,7 +771,7 @@ void FolderStorage::remove()
needsCompact = false; //we are dead - no need to compact us
// Erase settings, otherwise they might interfer when recreating the folder
- KConfig* config = KMKernel::config();
+ TDEConfig* config = KMKernel::config();
config->deleteGroup( "Folder-" + folder()->idString() );
emit closed(folder());
@@ -918,8 +918,8 @@ void FolderStorage::headerOfMsgChanged(const KMMsgBase* aMsg, int idx)
void FolderStorage::readConfig()
{
//kdDebug(5006)<<"#### READING CONFIG = "<< name() <<endl;
- KConfig* config = KMKernel::config();
- KConfigGroupSaver saver(config, "Folder-" + folder()->idString());
+ TDEConfig* config = KMKernel::config();
+ TDEConfigGroupSaver saver(config, "Folder-" + folder()->idString());
if (mUnreadMsgs == -1)
mUnreadMsgs = config->readNumEntry("UnreadMsgs", -1);
if (mTotalMsgs == -1)
@@ -938,8 +938,8 @@ void FolderStorage::readConfig()
//-----------------------------------------------------------------------------
void FolderStorage::writeConfig()
{
- KConfig* config = KMKernel::config();
- KConfigGroupSaver saver(config, "Folder-" + folder()->idString());
+ TDEConfig* config = KMKernel::config();
+ TDEConfigGroupSaver saver(config, "Folder-" + folder()->idString());
config->writeEntry("UnreadMsgs",
mGuessedUnreadMsgs == -1 ? mUnreadMsgs : mGuessedUnreadMsgs);
config->writeEntry("TotalMsgs", mTotalMsgs);