Diffstat (limited to 'noncore/net/mail/accountitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/accountitem.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/accountitem.cpp b/noncore/net/mail/accountitem.cpp index f7fdccd..f3f2182 100644 --- a/noncore/net/mail/accountitem.cpp +++ b/noncore/net/mail/accountitem.cpp | |||
@@ -8,15 +8,17 @@ | |||
8 | #include <libmailwrapper/mailtypes.h> | 8 | #include <libmailwrapper/mailtypes.h> |
9 | #include <libmailwrapper/abstractmail.h> | 9 | #include <libmailwrapper/abstractmail.h> |
10 | #include <libmailwrapper/mailwrapper.h> | 10 | #include <libmailwrapper/mailwrapper.h> |
11 | |||
11 | /* OPIE */ | 12 | /* OPIE */ |
12 | #include <opie2/odebug.h> | 13 | #include <opie2/odebug.h> |
14 | #include <opie2/oresource.h> | ||
13 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
16 | using namespace Opie::Core; | ||
14 | 17 | ||
15 | /* QT */ | 18 | /* QT */ |
16 | #include <qpopupmenu.h> | 19 | #include <qpopupmenu.h> |
17 | #include <qmessagebox.h> | 20 | #include <qmessagebox.h> |
18 | 21 | ||
19 | using namespace Opie::Core; | ||
20 | #define SETPIX(x) if (!account->getOffline()) {setPixmap( 0,x);} else {setPixmap( 0, PIXMAP_OFFLINE );} | 22 | #define SETPIX(x) if (!account->getOffline()) {setPixmap( 0,x);} else {setPixmap( 0, PIXMAP_OFFLINE );} |
21 | /** | 23 | /** |
22 | * POP3 Account stuff | 24 | * POP3 Account stuff |
@@ -898,7 +900,7 @@ void MHfolderItem::initName() | |||
898 | { | 900 | { |
899 | setPixmap( 0, PIXMAP_INBOXFOLDER); | 901 | setPixmap( 0, PIXMAP_INBOXFOLDER); |
900 | } else if (bName.lower() == "drafts") { | 902 | } else if (bName.lower() == "drafts") { |
901 | setPixmap(0, Resource::loadPixmap("edit")); | 903 | setPixmap(0, Opie::Core::OResource::loadPixmap("edit", Opie::Core::OResource::SmallIcon)); |
902 | } else { | 904 | } else { |
903 | setPixmap( 0, PIXMAP_MBOXFOLDER ); | 905 | setPixmap( 0, PIXMAP_MBOXFOLDER ); |
904 | } | 906 | } |