diff options
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r-- | kmail/kmfoldertree.cpp | 18 |
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; |