author | harlekin <harlekin> | 2004-01-06 12:33:20 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-01-06 12:33:20 (UTC) |
commit | a1270a04613d9adbd72c41ae1cde4683b036eebd (patch) (side-by-side diff) | |
tree | 0ba4084bb84bd7e9e75fe1918f5b0b5cf0059410 | |
parent | 1c484a5dfcea2e7e3dc4774c706ca03cab229d40 (diff) | |
download | opie-a1270a04613d9adbd72c41ae1cde4683b036eebd.zip opie-a1270a04613d9adbd72c41ae1cde4683b036eebd.tar.gz opie-a1270a04613d9adbd72c41ae1cde4683b036eebd.tar.bz2 |
less icons
-rw-r--r-- | noncore/net/mail/defines.h | 5 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/pop3wrapper.cpp | 17 | ||||
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 8 | ||||
-rw-r--r-- | noncore/net/mail/taskbarapplet/mailapplet.cpp | 1 | ||||
-rw-r--r-- | noncore/net/mail/viewmailbase.cpp | 2 | ||||
-rw-r--r-- | pics/mail/abort.png | bin | 702 -> 0 bytes | |||
-rw-r--r-- | pics/mail/configure.png | bin | 697 -> 0 bytes | |||
-rw-r--r-- | pics/mail/delete.png | bin | 626 -> 0 bytes | |||
-rw-r--r-- | pics/mail/deletemail.png | bin | 679 -> 0 bytes | |||
-rw-r--r-- | pics/mail/editsettings.png | bin | 697 -> 0 bytes | |||
-rw-r--r-- | pics/mail/find.png | bin | 809 -> 0 bytes | |||
-rw-r--r-- | pics/mail/folder.png | bin | 767 -> 0 bytes | |||
-rw-r--r-- | pics/mail/mailchecker.png | bin | 832 -> 0 bytes | |||
-rw-r--r-- | pics/mail/reload.png | bin | 699 -> 0 bytes | |||
-rw-r--r-- | pics/mail/savemail.png | bin | 757 -> 0 bytes | |||
-rw-r--r-- | pics/mail/searchmails.png | bin | 820 -> 0 bytes |
16 files changed, 16 insertions, 17 deletions
diff --git a/noncore/net/mail/defines.h b/noncore/net/mail/defines.h index 36c85c7..ebe8e08 100644 --- a/noncore/net/mail/defines.h +++ b/noncore/net/mail/defines.h @@ -5,3 +5,3 @@ -#define USER_AGENT "OpieMail v0.1" +#define USER_AGENT "OpieMail v0.3" @@ -10,5 +10,2 @@ #define PIC_SHOWFOLDERS "mail/showfolders" -#define PIC_SEARCHMAILS "mail/searchmails" -#define PIC_EDITSETTINGS "mail/editsettings" -#define PIC_EDITACCOUNTS "mail/editaccounts" #define PIC_SYNC "mail/sync" diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp index ec4dcd2..cceb22e 100644 --- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp +++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp @@ -41,3 +41,3 @@ RecBody POP3wrapper::fetchBody( const RecMail &mail ) size_t length = 0; - + login(); @@ -53,3 +53,3 @@ RecBody POP3wrapper::fetchBody( const RecMail &mail ) } - + QFile msg_cache(msgTempName); @@ -57,3 +57,3 @@ RecBody POP3wrapper::fetchBody( const RecMail &mail ) cleanMimeCache(); - + if (mail.getNumber()!=last_msg_id) { @@ -90,7 +90,7 @@ RecBody POP3wrapper::fetchBody( const RecMail &mail ) body = parseMail(mailmsg); - + /* clean up */ - if (mailmsg) mailmessage_free(mailmsg); + if (mailmsg) mailmessage_free(mailmsg); if (message) free(message); - + return body; @@ -155,2 +155,3 @@ void POP3wrapper::login() if (err != MAIL_NO_ERROR) { + qDebug( QString( "FEHLERNUMMER %1" ).arg( err ) ); Global::statusMessage(tr("Error initializing folder")); @@ -216,3 +217,3 @@ int POP3wrapper::deleteAllMail(const Folder*) break; - } + } return res; @@ -239,3 +240,3 @@ encodedString* POP3wrapper::fetchRawBody(const RecMail&mail) err = mailmessage_fetch(mailmsg,&target,&length); - if (mailmsg) mailmessage_free(mailmsg); + if (mailmsg) mailmessage_free(mailmsg); if (target) { diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 43d02e7..3c659e4 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp @@ -66,3 +66,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) /* - searchMails = new QAction( tr( "Search mails" ), ICON_SEARCHMAILS, + searchMails = new QAction( tr( "Search mails" ), QIconSet( Resource::loadPixmap("find") ), 0, 0, this ); @@ -72,3 +72,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) - deleteMails = new QAction(tr("Delete Mail"), QIconSet(Resource::loadPixmap("mail/delete")), 0, 0, this); + deleteMails = new QAction(tr("Delete Mail"), QIconSet( Resource::loadPixmap("trash")), 0, 0, this); deleteMails->addTo( toolBar ); @@ -78,3 +78,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) - editSettings = new QAction( tr( "Edit settings" ), ICON_EDITSETTINGS, + editSettings = new QAction( tr( "Edit settings" ), QIconSet( Resource::loadPixmap("SettingsIcon") ) , 0, 0, this ); @@ -83,3 +83,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) SLOT( slotEditSettings() ) ); - editAccounts = new QAction( tr( "Configure accounts" ), ICON_EDITACCOUNTS, + editAccounts = new QAction( tr( "Configure accounts" ), QIconSet( Resource::loadPixmap("mail/editaccounts") ) , 0, 0, this ); diff --git a/noncore/net/mail/taskbarapplet/mailapplet.cpp b/noncore/net/mail/taskbarapplet/mailapplet.cpp index a261d14..991b5fb 100644 --- a/noncore/net/mail/taskbarapplet/mailapplet.cpp +++ b/noncore/net/mail/taskbarapplet/mailapplet.cpp @@ -51,2 +51,3 @@ void MailApplet::paintEvent( QPaintEvent* ) { p.setFont( f ); + p.setPen( Qt::blue ); p.drawText( AppLnk::smallIconSize()/3, AppLnk::smallIconSize() - 2, QString::number( m_newMails ) ); diff --git a/noncore/net/mail/viewmailbase.cpp b/noncore/net/mail/viewmailbase.cpp index 0e994d4..153ba9d 100644 --- a/noncore/net/mail/viewmailbase.cpp +++ b/noncore/net/mail/viewmailbase.cpp @@ -50,3 +50,3 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) - deleteMail = new QAction(tr("Delete Mail"), QIconSet(Resource::loadPixmap("mail/delete")), 0, 0, this); + deleteMail = new QAction(tr("Delete Mail"), QIconSet(Resource::loadPixmap("trash")), 0, 0, this); deleteMail->addTo(toolbar); diff --git a/pics/mail/abort.png b/pics/mail/abort.png Binary files differdeleted file mode 100644 index 13d0588..0000000 --- a/pics/mail/abort.png +++ b/dev/null diff --git a/pics/mail/configure.png b/pics/mail/configure.png Binary files differdeleted file mode 100644 index 9bbde25..0000000 --- a/pics/mail/configure.png +++ b/dev/null diff --git a/pics/mail/delete.png b/pics/mail/delete.png Binary files differdeleted file mode 100644 index 3d3daf2..0000000 --- a/pics/mail/delete.png +++ b/dev/null diff --git a/pics/mail/deletemail.png b/pics/mail/deletemail.png Binary files differdeleted file mode 100644 index 78a5f62..0000000 --- a/pics/mail/deletemail.png +++ b/dev/null diff --git a/pics/mail/editsettings.png b/pics/mail/editsettings.png Binary files differdeleted file mode 100644 index 9bbde25..0000000 --- a/pics/mail/editsettings.png +++ b/dev/null diff --git a/pics/mail/find.png b/pics/mail/find.png Binary files differdeleted file mode 100644 index 0dbfa0b..0000000 --- a/pics/mail/find.png +++ b/dev/null diff --git a/pics/mail/folder.png b/pics/mail/folder.png Binary files differdeleted file mode 100644 index 0c980dc..0000000 --- a/pics/mail/folder.png +++ b/dev/null diff --git a/pics/mail/mailchecker.png b/pics/mail/mailchecker.png Binary files differdeleted file mode 100644 index 7fb36b1..0000000 --- a/pics/mail/mailchecker.png +++ b/dev/null diff --git a/pics/mail/reload.png b/pics/mail/reload.png Binary files differdeleted file mode 100644 index 3bfff11..0000000 --- a/pics/mail/reload.png +++ b/dev/null diff --git a/pics/mail/savemail.png b/pics/mail/savemail.png Binary files differdeleted file mode 100644 index a44dd1f..0000000 --- a/pics/mail/savemail.png +++ b/dev/null diff --git a/pics/mail/searchmails.png b/pics/mail/searchmails.png Binary files differdeleted file mode 100644 index 21dc83e..0000000 --- a/pics/mail/searchmails.png +++ b/dev/null |