summaryrefslogtreecommitdiffstats
path: root/kmail/accountmanager.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/accountmanager.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/accountmanager.cpp')
-rw-r--r--kmail/accountmanager.cpp12
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")