summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kmail/folderstorage.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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);