author | zautrix <zautrix> | 2004-09-10 15:30:01 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-10 15:30:01 (UTC) |
commit | 4af018e98a29e859df1b28a437c4965bb9676394 (patch) (side-by-side diff) | |
tree | ac71fa15fdd2eca263730493de378482952d8c80 | |
parent | 14056eb4ec076bc243dcb9f600999eb437fb8afd (diff) | |
download | kdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.zip kdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.tar.gz kdepimpi-4af018e98a29e859df1b28a437c4965bb9676394.tar.bz2 |
path fixes for kopiemail
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.Embedded | 2 | ||||
-rw-r--r-- | kmicromail/kmicromail.desktop | 2 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/abstractmail.cpp | 2 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/settings.cpp | 20 | ||||
-rw-r--r-- | kmicromail/main.cpp | 8 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 2 | ||||
-rw-r--r-- | kopiemail.control | 2 |
8 files changed, 20 insertions, 20 deletions
@@ -187,9 +187,9 @@ install: cp -r Pim $(QPEDIR)/apps cp db2file/db2file $(QPEDIR)/bin/db2file cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop - cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop + cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop dist: @echo Dont forget to do "make install" before "make dist" rm -f *arm.ipk diff --git a/Makefile.Embedded b/Makefile.Embedded index 2d0e855..ec2277e 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded @@ -187,9 +187,9 @@ install: cp -r Pim $(QPEDIR)/apps cp db2file/db2file $(QPEDIR)/bin/db2file cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop - cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop + cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop dist: @echo Dont forget to do "make install" before "make dist" rm -f *arm.ipk diff --git a/kmicromail/kmicromail.desktop b/kmicromail/kmicromail.desktop index a23420a..e3efcc6 100644 --- a/kmicromail/kmicromail.desktop +++ b/kmicromail/kmicromail.desktop @@ -5,9 +5,9 @@ Comment[de]=KM/PI Display=640x480/144dpi,480x640/144dpi Exec=ompi GenericName= GenericName[de]= -Icon=kdepim/kmicromail/kmicromail +Icon=kdepim/kopiemail/kmicromail MimeType= Name=OM/Pi StartupNotify=true Terminal=false 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; } diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index 30637e2..db29ff3 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp @@ -29,18 +29,18 @@ int main( int argc, char **argv ) { QApplication a( argc, argv ); QApplication::setStyle( new QPlatinumStyle ()); #endif - KGlobal::setAppName( "kmicromail" ); + KGlobal::setAppName( "kopiemail" ); QString fileName ; #ifndef DESKTOP_VERSION fileName = getenv("QPEDIR"); if ( QApplication::desktop()->width() > 320 ) - KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/icons22/"); + KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/"); else - KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/"); + KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/"); #else - fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/"; + fileName = qApp->applicationDirPath () + "/kdepim/kopiemail/"; KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); #endif KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail"))); OpieMail mw; diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 5793a58..21edfd2 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -206,9 +206,9 @@ void MainWindow::showAbout() KApplication::showText( cap, text ); } void MainWindow::showEtpanLicence() { - KApplication::showFile( "LibEtPan licence", "kdepim/kmicromail/COPYRIGHTlibetpan" ); + KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" ); } void MainWindow::appMessage(const QCString &, const QByteArray &) { diff --git a/kopiemail.control b/kopiemail.control index 339396d..52cf554 100644 --- a/kopiemail.control +++ b/kopiemail.control @@ -1,5 +1,5 @@ -Files: bin/ompi apps/Pim/kmicromail.desktop pics/kdepim/kmicromail/* lib/libkmicro* +Files: bin/ompi apps/Pim/kopiemail.desktop pics/kdepim/kopiemail/* lib/libkmicro* Priority: optional Section: qpe/pim Maintainer: Lutz Rogowski <lutz@pi-sync.net> |