summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper
authorzautrix <zautrix>2004-09-10 15:30:01 (UTC)
committer zautrix <zautrix>2004-09-10 15:30:01 (UTC)
commit4af018e98a29e859df1b28a437c4965bb9676394 (patch) (side-by-side diff)
treeac71fa15fdd2eca263730493de378482952d8c80 /kmicromail/libmailwrapper
parent14056eb4ec076bc243dcb9f600999eb437fb8afd (diff)
downloadkdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.zip
kdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.tar.gz
kdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.tar.bz2
path fixes for kopiemail
Diffstat (limited to 'kmicromail/libmailwrapper') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/abstractmail.cpp2
-rw-r--r--kmicromail/libmailwrapper/settings.cpp20
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
@@ -126,7 +126,7 @@ 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
@@ -28,7 +28,7 @@ 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" );
@@ -56,7 +56,7 @@ 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-*" );
@@ -148,7 +148,7 @@ QString IMAPaccount::getUniqueFileName()
int num = 0;
QString unique;
- QDir dir( locateLocal("data", "kmicromail" ) );
+ QDir dir( locateLocal("data", "kopiemail" ) );
QStringList imap = dir.entryList( "imap-*" );
do {
@@ -203,7 +203,7 @@ void IMAPaccount::save()
QString IMAPaccount::getFileName()
{
- return locateLocal("data", "kmicromail" ) +"/imap-" + file;
+ return locateLocal("data", "kopiemail" ) +"/imap-" + file;
}
POP3account::POP3account()
@@ -233,7 +233,7 @@ QString POP3account::getUniqueFileName()
int num = 0;
QString unique;
- QDir dir( locateLocal("data", "kmicromail" ) );
+ QDir dir( locateLocal("data", "kopiemail" ) );
QStringList imap = dir.entryList( "pop3-*" );
do {
@@ -279,7 +279,7 @@ void POP3account::save()
QString POP3account::getFileName()
{
- return locateLocal("data", "kmicromail" ) +"/pop3-" + file;
+ return locateLocal("data", "kopiemail" ) +"/pop3-" + file;
}
SMTPaccount::SMTPaccount()
@@ -314,7 +314,7 @@ QString SMTPaccount::getUniqueFileName()
int num = 0;
QString unique;
- QDir dir( locateLocal("data", "kmicromail" ) );
+ QDir dir( locateLocal("data", "kopiemail" ) );
QStringList imap = dir.entryList( "smtp-*" );
do {
@@ -360,7 +360,7 @@ void SMTPaccount::save()
QString SMTPaccount::getFileName()
{
- return locateLocal("data", "kmicromail" ) +"/smtp-" + file;
+ return locateLocal("data", "kopiemail" ) +"/smtp-" + file;
}
NNTPaccount::NNTPaccount()
@@ -390,7 +390,7 @@ QString NNTPaccount::getUniqueFileName()
int num = 0;
QString unique;
- QDir dir( locateLocal("data", "kmicromail" ) );
+ QDir dir( locateLocal("data", "kopiemail" ) );
QStringList imap = dir.entryList( "nntp-*" );
do {
@@ -436,5 +436,5 @@ void NNTPaccount::save()
QString NNTPaccount::getFileName()
{
- return locateLocal("data", "kmicromail" ) +"/nntp-" + file;
+ return locateLocal("data", "kopiemail" ) +"/nntp-" + file;
}