Diffstat (limited to 'noncore/net/mail/mailistviewitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/mailistviewitem.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/noncore/net/mail/mailistviewitem.cpp b/noncore/net/mail/mailistviewitem.cpp index d3a0723..5254616 100644 --- a/noncore/net/mail/mailistviewitem.cpp +++ b/noncore/net/mail/mailistviewitem.cpp | |||
@@ -2,6 +2,10 @@ | |||
2 | #include <libmailwrapper/abstractmail.h> | 2 | #include <libmailwrapper/abstractmail.h> |
3 | #include <qtextstream.h> | 3 | |
4 | #include <qpe/resource.h> | 4 | /* OPIE */ |
5 | #include <opie2/oresource.h> | ||
5 | #include <qpe/timestring.h> | 6 | #include <qpe/timestring.h> |
6 | 7 | ||
8 | /* QT */ | ||
9 | #include <qtextstream.h> | ||
10 | |||
7 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * item ) | 11 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * item ) |
@@ -14,3 +18,3 @@ void MailListViewItem::showEntry() | |||
14 | if ( mail_data->getFlags().testBit( FLAG_ANSWERED ) == true) { | 18 | if ( mail_data->getFlags().testBit( FLAG_ANSWERED ) == true) { |
15 | setPixmap( 0, Resource::loadPixmap( "mail/kmmsgreplied") ); | 19 | setPixmap( 0, Opie::Core::OResource::loadPixmap( "mail/kmmsgreplied", Opie::Core::OResource::SmallIcon ) ); |
16 | } else if ( mail_data->getFlags().testBit( FLAG_SEEN ) == true ) { | 20 | } else if ( mail_data->getFlags().testBit( FLAG_SEEN ) == true ) { |
@@ -18,5 +22,5 @@ void MailListViewItem::showEntry() | |||
18 | replied or new - Alwin*/ | 22 | replied or new - Alwin*/ |
19 | //setPixmap( 0, Resource::loadPixmap( "mail/kmmsgunseen") ); | 23 | //setPixmap( 0, Opie::Core::OResource::loadPixmap( "mail/kmmsgunseen", Opie::Core::OResource::SmallIcon ) ); |
20 | } else { | 24 | } else { |
21 | setPixmap( 0, Resource::loadPixmap( "mail/kmmsgnew") ); | 25 | setPixmap( 0, Opie::Core::OResource::loadPixmap( "mail/kmmsgnew", Opie::Core::OResource::SmallIcon ) ); |
22 | } | 26 | } |