summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.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/kmfoldertree.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/kmfoldertree.cpp')
-rw-r--r--kmail/kmfoldertree.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 7bec817b6..9d259f562 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -480,13 +480,13 @@ void KMFolderTree::connectSignals()
//-----------------------------------------------------------------------------
void KMFolderTree::readConfig (void)
{
- KConfig* conf = KMKernel::config();
+ TDEConfig* conf = KMKernel::config();
readColorConfig();
// Custom/Ssystem font support
{
- KConfigGroupSaver saver(conf, "Fonts");
+ TDEConfigGroupSaver saver(conf, "Fonts");
if (!conf->readBoolEntry("defaultFonts",true)) {
TQFont folderFont( TDEGlobalSettings::generalFont() );
setFont(conf->readFontEntry("folder-font", &folderFont));
@@ -1045,9 +1045,9 @@ void KMFolderTree::doFolderSelected( TQListViewItem* qlvi, bool keepSelection )
//-----------------------------------------------------------------------------
void KMFolderTree::resizeEvent(TQResizeEvent* e)
{
- KConfig* conf = KMKernel::config();
+ TDEConfig* conf = KMKernel::config();
- KConfigGroupSaver saver(conf, "Geometry");
+ TDEConfigGroupSaver saver(conf, "Geometry");
conf->writeEntry(name(), size().width());
KListView::resizeEvent(e);
@@ -1321,7 +1321,7 @@ void KMFolderTree::addChildFolder( KMFolder *folder, TQWidget * parent )
// config file.
bool KMFolderTree::readIsListViewItemOpen(KMFolderTreeItem *fti)
{
- KConfig* config = KMKernel::config();
+ TDEConfig* config = KMKernel::config();
KMFolder *folder = fti->folder();
TQString name;
if (folder)
@@ -1338,7 +1338,7 @@ bool KMFolderTree::readIsListViewItemOpen(KMFolderTreeItem *fti)
} else {
return false;
}
- KConfigGroupSaver saver(config, name);
+ TDEConfigGroupSaver saver(config, name);
return config->readBoolEntry("isOpen", false);
}
@@ -1347,7 +1347,7 @@ bool KMFolderTree::readIsListViewItemOpen(KMFolderTreeItem *fti)
// Saves open/closed state of a folder directory into the config file
void KMFolderTree::writeIsListViewItemOpen(KMFolderTreeItem *fti)
{
- KConfig* config = KMKernel::config();
+ TDEConfig* config = KMKernel::config();
KMFolder *folder = fti->folder();
TQString name;
if (folder && !folder->idString().isEmpty())
@@ -1364,7 +1364,7 @@ void KMFolderTree::writeIsListViewItemOpen(KMFolderTreeItem *fti)
} else {
return;
}
- KConfigGroupSaver saver(config, name);
+ TDEConfigGroupSaver saver(config, name);
config->writeEntry("isOpen", fti->isOpen() );
}
@@ -1374,7 +1374,7 @@ void KMFolderTree::cleanupConfigFile()
{
if ( childCount() == 0 )
return; // just in case reload wasn't called before
- KConfig* config = KMKernel::config();
+ TDEConfig* config = KMKernel::config();
TQStringList existingFolders;
TQListViewItemIterator fldIt(this);
TQMap<TQString,bool> folderMap;