-rw-r--r-- | kmicromail/libmailwrapper/abstractmail.cpp | 2 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/settings.cpp | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kmicromail/libmailwrapper/abstractmail.cpp b/kmicromail/libmailwrapper/abstractmail.cpp index 3b0ca1f..cef4e97 100644 --- a/kmicromail/libmailwrapper/abstractmail.cpp +++ b/kmicromail/libmailwrapper/abstractmail.cpp @@ -125,9 +125,9 @@ int AbstractMail::createMbox(const QString&,const FolderP&,const QString& ,bool) QString AbstractMail::defaultLocalfolder() { // QString f = getenv( "HOME" ); - QString f = locateLocal( "data", "kmicromail/localmail"); + QString f = locateLocal( "data", "kopiemail/localmail"); // f += "/Applications/opiemail/localmail"; return f; } diff --git a/kmicromail/libmailwrapper/settings.cpp b/kmicromail/libmailwrapper/settings.cpp index bdb2a25..b0a539e 100644 --- a/kmicromail/libmailwrapper/settings.cpp +++ b/kmicromail/libmailwrapper/settings.cpp @@ -27,9 +27,9 @@ Settings::Settings() void Settings::checkDirectory() { qDebug("Settings::checkDirectory() "); return; - locateLocal("data", "kmicromail" ); + locateLocal("data", "kopiemail" ); /* if ( !QDir( (QString) getenv( "HOME" ) + "/Applications/opiemail/" ).exists() ) { system( "mkdir -p $HOME/Applications/opiemail" ); qDebug("$HOME/Applications/opiemail created "); @@ -55,9 +55,9 @@ void Settings::delAccount( Account *account ) void Settings::updateAccounts() { accounts.clear(); - QDir dir( locateLocal("data", "kmicromail" ) ); + QDir dir( locateLocal("data", "kopiemail" ) ); QStringList::Iterator it; QStringList imap = dir.entryList( "imap-*" ); for ( it = imap.begin(); it != imap.end(); it++ ) { @@ -147,9 +147,9 @@ QString IMAPaccount::getUniqueFileName() { int num = 0; QString unique; - QDir dir( locateLocal("data", "kmicromail" ) ); + QDir dir( locateLocal("data", "kopiemail" ) ); QStringList imap = dir.entryList( "imap-*" ); do { unique.setNum( num++ ); @@ -202,9 +202,9 @@ void IMAPaccount::save() QString IMAPaccount::getFileName() { - return locateLocal("data", "kmicromail" ) +"/imap-" + file; + return locateLocal("data", "kopiemail" ) +"/imap-" + file; } POP3account::POP3account() : Account() @@ -232,9 +232,9 @@ QString POP3account::getUniqueFileName() { int num = 0; QString unique; - QDir dir( locateLocal("data", "kmicromail" ) ); + QDir dir( locateLocal("data", "kopiemail" ) ); QStringList imap = dir.entryList( "pop3-*" ); do { unique.setNum( num++ ); @@ -278,9 +278,9 @@ void POP3account::save() QString POP3account::getFileName() { - return locateLocal("data", "kmicromail" ) +"/pop3-" + file; + return locateLocal("data", "kopiemail" ) +"/pop3-" + file; } SMTPaccount::SMTPaccount() : Account() @@ -313,9 +313,9 @@ QString SMTPaccount::getUniqueFileName() { int num = 0; QString unique; - QDir dir( locateLocal("data", "kmicromail" ) ); + QDir dir( locateLocal("data", "kopiemail" ) ); QStringList imap = dir.entryList( "smtp-*" ); do { unique.setNum( num++ ); @@ -359,9 +359,9 @@ void SMTPaccount::save() QString SMTPaccount::getFileName() { - return locateLocal("data", "kmicromail" ) +"/smtp-" + file; + return locateLocal("data", "kopiemail" ) +"/smtp-" + file; } NNTPaccount::NNTPaccount() : Account() @@ -389,9 +389,9 @@ QString NNTPaccount::getUniqueFileName() { int num = 0; QString unique; - QDir dir( locateLocal("data", "kmicromail" ) ); + QDir dir( locateLocal("data", "kopiemail" ) ); QStringList imap = dir.entryList( "nntp-*" ); do { unique.setNum( num++ ); @@ -435,6 +435,6 @@ void NNTPaccount::save() QString NNTPaccount::getFileName() { - return locateLocal("data", "kmicromail" ) +"/nntp-" + file; + return locateLocal("data", "kopiemail" ) +"/nntp-" + file; } |