author | jgf <jgf> | 2003-12-22 19:44:29 (UTC) |
---|---|---|
committer | jgf <jgf> | 2003-12-22 19:44:29 (UTC) |
commit | dd8b635cf7165524799743b0516ea51bef3210c8 (patch) (side-by-side diff) | |
tree | a4d8429c12f6c431947eba4d22baafbdf7eba057 | |
parent | f0a4320f43abb1a24f80d6de1a94d39453945355 (diff) | |
download | opie-dd8b635cf7165524799743b0516ea51bef3210c8.zip opie-dd8b635cf7165524799743b0516ea51bef3210c8.tar.gz opie-dd8b635cf7165524799743b0516ea51bef3210c8.tar.bz2 |
new fancy icons from kde cvs
-rw-r--r-- | noncore/net/mail/accountview.cpp | 12 | ||||
-rw-r--r-- | noncore/net/mail/defines.h | 6 | ||||
-rw-r--r-- | pics/mail/imapfolder.png | bin | 767 -> 470 bytes | |||
-rw-r--r-- | pics/mail/inbox.png | bin | 616 -> 783 bytes | |||
-rw-r--r-- | pics/mail/localfolder.png | bin | 0 -> 736 bytes | |||
-rw-r--r-- | pics/mail/mboxfolder.png | bin | 0 -> 473 bytes | |||
-rw-r--r-- | pics/mail/outbox.png | bin | 0 -> 769 bytes | |||
-rw-r--r-- | pics/mail/pop3folder.png | bin | 701 -> 520 bytes |
8 files changed, 13 insertions, 5 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp index 6bc8b8b..59e8bc0 100644 --- a/noncore/net/mail/accountview.cpp +++ b/noncore/net/mail/accountview.cpp @@ -309,3 +309,3 @@ MBOXviewItem::MBOXviewItem( const QString&aPath, QListView *parent ) wrapper = AbstractMail::getWrapper( m_Path ); - setPixmap( 0, PIXMAP_POP3FOLDER ); + setPixmap( 0, PIXMAP_LOCALFOLDER ); setText( 0, " Local Folders" ); @@ -360,7 +360,9 @@ MBOXfolderItem::MBOXfolderItem( Folder *folderInit, MBOXviewItem *parent , QList mbox = parent; - if (folder->getDisplayName().lower()!="inbox") { - setPixmap( 0, PIXMAP_POP3FOLDER ); - } else { + if (folder->getDisplayName().lower() == "outgoing") { + setPixmap( 0, PIXMAP_OUTBOXFOLDER ); + } else if (folder->getDisplayName().lower() == "inbox") { setPixmap( 0, PIXMAP_INBOXFOLDER); - } + } else { + setPixmap( 0, PIXMAP_MBOXFOLDER ); + } setText( 0, folder->getDisplayName() ); diff --git a/noncore/net/mail/defines.h b/noncore/net/mail/defines.h index d9cdab0..36c85c7 100644 --- a/noncore/net/mail/defines.h +++ b/noncore/net/mail/defines.h @@ -15,4 +15,7 @@ #define PIC_IMAPFOLDER "mail/imapfolder" +#define PIC_MBOXFOLDER "mail/mboxfolder" #define PIC_POP3FOLDER "mail/pop3folder" #define PIC_INBOXFOLDER "mail/inbox" +#define PIC_OUTBOXFOLDER "mail/outbox" +#define PIC_LOCALFOLDER "mail/localfolder" @@ -29,2 +32,5 @@ #define PIXMAP_INBOXFOLDER QPixmap( Resource::loadPixmap( PIC_INBOXFOLDER) ) +#define PIXMAP_MBOXFOLDER QPixmap( Resource::loadPixmap( PIC_MBOXFOLDER ) ) +#define PIXMAP_OUTBOXFOLDER QPixmap( Resource::loadPixmap( PIC_OUTBOXFOLDER) ) +#define PIXMAP_LOCALFOLDER QPixmap( Resource::loadPixmap( PIC_LOCALFOLDER) ) diff --git a/pics/mail/imapfolder.png b/pics/mail/imapfolder.png Binary files differindex 0c980dc..f7a2901 100644 --- a/pics/mail/imapfolder.png +++ b/pics/mail/imapfolder.png diff --git a/pics/mail/inbox.png b/pics/mail/inbox.png Binary files differindex 662573d..b34f5fe 100644 --- a/pics/mail/inbox.png +++ b/pics/mail/inbox.png diff --git a/pics/mail/localfolder.png b/pics/mail/localfolder.png Binary files differnew file mode 100644 index 0000000..6b0ac61 --- a/dev/null +++ b/pics/mail/localfolder.png diff --git a/pics/mail/mboxfolder.png b/pics/mail/mboxfolder.png Binary files differnew file mode 100644 index 0000000..5012829 --- a/dev/null +++ b/pics/mail/mboxfolder.png diff --git a/pics/mail/outbox.png b/pics/mail/outbox.png Binary files differnew file mode 100644 index 0000000..3c81b43 --- a/dev/null +++ b/pics/mail/outbox.png diff --git a/pics/mail/pop3folder.png b/pics/mail/pop3folder.png Binary files differindex fad29f4..65baa24 100644 --- a/pics/mail/pop3folder.png +++ b/pics/mail/pop3folder.png |