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
@@ -183,17 +183,17 @@ clean: rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ done install: cd bin/kdepim; make 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 rm -f *~ cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim ./mkipks kmicrokdelibs.control ./mkipks korganizer.control diff --git a/Makefile.Embedded b/Makefile.Embedded index 2d0e855..ec2277e 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded @@ -183,17 +183,17 @@ clean: rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ done install: cd bin/kdepim; make 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 rm -f *~ cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim ./mkipks kmicrokdelibs.control ./mkipks korganizer.control diff --git a/kmicromail/kmicromail.desktop b/kmicromail/kmicromail.desktop index a23420a..e3efcc6 100644 --- a/kmicromail/kmicromail.desktop +++ b/kmicromail/kmicromail.desktop @@ -1,15 +1,15 @@ [Desktop Entry] CanFastload=1 Comment=OM/PI 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 TerminalOptions= Type=Application 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 @@ -121,17 +121,17 @@ QString AbstractMail::gen_attachment_id() int AbstractMail::createMbox(const QString&,const FolderP&,const QString& ,bool) { return 0; } 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; } QString AbstractMail::draftFolder() { return QString("Drafts"); } 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 @@ -23,17 +23,17 @@ Settings::Settings() { updateAccounts(); } 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 "); } */ } @@ -51,17 +51,17 @@ void Settings::delAccount( Account *account ) { accounts.remove( account ); account->remove(); } 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++ ) { IMAPaccount *account = new IMAPaccount( (*it).replace(0, 5, "") ); accounts.append( account ); } @@ -143,17 +143,17 @@ IMAPaccount::IMAPaccount( QString filename ) port = IMAP_PORT; } 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++ ); } while ( imap.contains( "imap-" + unique ) > 0 ); return unique; } @@ -198,17 +198,17 @@ void IMAPaccount::save() conf->writeEntry( "Offline",offline); conf->write(); delete conf; } QString IMAPaccount::getFileName() { - return locateLocal("data", "kmicromail" ) +"/imap-" + file; + return locateLocal("data", "kopiemail" ) +"/imap-" + file; } POP3account::POP3account() : Account() { file = POP3account::getUniqueFileName(); accountName = "New POP3 Account"; ssl = false; @@ -228,17 +228,17 @@ POP3account::POP3account( QString filename ) port = POP3_PORT; } 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++ ); } while ( imap.contains( "pop3-" + unique ) > 0 ); return unique; } @@ -274,17 +274,17 @@ void POP3account::save() conf->writeEntry( "Offline",offline); conf->write(); delete conf; } QString POP3account::getFileName() { - return locateLocal("data", "kmicromail" ) +"/pop3-" + file; + return locateLocal("data", "kopiemail" ) +"/pop3-" + file; } SMTPaccount::SMTPaccount() : Account() { file = SMTPaccount::getUniqueFileName(); accountName = "New SMTP Account"; ssl = false; @@ -309,17 +309,17 @@ SMTPaccount::SMTPaccount( QString filename ) port = SMTP_PORT; } 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++ ); } while ( imap.contains( "smtp-" + unique ) > 0 ); return unique; } @@ -355,17 +355,17 @@ void SMTPaccount::save() conf->writeEntryCrypt( "Password", password ); conf->write(); delete conf; } QString SMTPaccount::getFileName() { - return locateLocal("data", "kmicromail" ) +"/smtp-" + file; + return locateLocal("data", "kopiemail" ) +"/smtp-" + file; } NNTPaccount::NNTPaccount() : Account() { file = NNTPaccount::getUniqueFileName(); accountName = "New NNTP Account"; ssl = false; @@ -385,17 +385,17 @@ NNTPaccount::NNTPaccount( QString filename ) port = NNTP_PORT; } 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++ ); } while ( imap.contains( "nntp-" + unique ) > 0 ); return unique; } @@ -431,10 +431,10 @@ void NNTPaccount::save() conf->writeEntry( "Subscribed" , subscribedGroups, ',' ); conf->write(); delete conf; } 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 @@ -25,26 +25,26 @@ int main( int argc, char **argv ) { #ifndef DESKTOP_VERSION QPEApplication a( argc, argv ); a.setKeepRunning (); #else 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; #ifndef DESKTOP_VERSION //qDebug("CONNECT "); QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& ))); // QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 5793a58..21edfd2 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -202,17 +202,17 @@ void MainWindow::showAbout() "KOpieMail/Pi uses LibEtPan - a mail stuff library\n" "Copyright (C) 2001, 2002 - DINH Viet Hoa\n" "libEtPan has its own licence - see LibEtPan licence\n"; 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 &) { qDebug("appMessage implemented by subclass"); } void MainWindow::slotAdjustLayout() { diff --git a/kopiemail.control b/kopiemail.control index 339396d..52cf554 100644 --- a/kopiemail.control +++ b/kopiemail.control @@ -1,9 +1,9 @@ -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> Architecture: arm Version: 1.9.4 License: GPL Depends: |