diff options
Diffstat (limited to 'kmail/accountmanager.cpp')
-rw-r--r-- | kmail/accountmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp index 0610622f7..a2bb384ff 100644 --- a/kmail/accountmanager.cpp +++ b/kmail/accountmanager.cpp @@ -49,10 +49,10 @@ AccountManager::~AccountManager() //----------------------------------------------------------------------------- void AccountManager::writeConfig( bool withSync ) { - KConfig* config = KMKernel::config(); + TDEConfig* config = KMKernel::config(); TQString groupName; - KConfigGroupSaver saver(config, "General"); + TDEConfigGroupSaver saver(config, "General"); config->writeEntry("accounts", mAcctList.count()); // first delete all account groups in the config file: @@ -66,7 +66,7 @@ void AccountManager::writeConfig( bool withSync ) int i = 1; for ( AccountList::ConstIterator it( mAcctList.begin() ), end( mAcctList.end() ); it != end; ++it, ++i ) { groupName.sprintf("Account %d", i); - KConfigGroupSaver saver(config, groupName); + TDEConfigGroupSaver saver(config, groupName); (*it)->writeConfig(*config); } if (withSync) config->sync(); @@ -76,7 +76,7 @@ void AccountManager::writeConfig( bool withSync ) //----------------------------------------------------------------------------- void AccountManager::readConfig(void) { - KConfig* config = KMKernel::config(); + TDEConfig* config = KMKernel::config(); KMAccount* acct; TQString acctType, acctName; TQCString groupName; @@ -87,13 +87,13 @@ void AccountManager::readConfig(void) delete *it; mAcctList.clear(); - KConfigGroup general(config, "General"); + TDEConfigGroup general(config, "General"); num = general.readNumEntry("accounts", 0); for (i=1; i<=num; i++) { groupName.sprintf("Account %d", i); - KConfigGroupSaver saver(config, groupName); + TDEConfigGroupSaver saver(config, groupName); acctType = config->readEntry("Type"); // Provide backwards compatibility if (acctType == "advanced pop" || acctType == "experimental pop") |