Diffstat (limited to 'kmicromail/mailistviewitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kmicromail/mailistviewitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/mailistviewitem.cpp b/kmicromail/mailistviewitem.cpp index 1ca0ada..b92b0cf 100644 --- a/kmicromail/mailistviewitem.cpp +++ b/kmicromail/mailistviewitem.cpp | |||
@@ -1,24 +1,25 @@ | |||
1 | // CHANGED 2004-08-06 Lutz Rogowski | ||
1 | #include "mailistviewitem.h" | 2 | #include "mailistviewitem.h" |
2 | #include <libmailwrapper/abstractmail.h> | 3 | #include <libmailwrapper/abstractmail.h> |
3 | #include <qtextstream.h> | 4 | #include <qtextstream.h> |
4 | #include <kiconloader.h> | 5 | #include <kiconloader.h> |
5 | //#include <qpe/resource.h> | 6 | //#include <qpe/resource.h> |
6 | 7 | ||
7 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * item ) | 8 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * item ) |
8 | :QListViewItem(parent,item),mail_data() | 9 | :QListViewItem(parent,item),mail_data() |
9 | { | 10 | { |
10 | } | 11 | } |
11 | 12 | ||
12 | void MailListViewItem::showEntry() | 13 | void MailListViewItem::showEntry() |
13 | { | 14 | { |
14 | if ( mail_data->getFlags().testBit( FLAG_ANSWERED ) == true) { | 15 | if ( mail_data->getFlags().testBit( FLAG_ANSWERED ) == true) { |
15 | setPixmap( 0, SmallIcon ( "kmmsgreplied") ); | 16 | setPixmap( 0, SmallIcon ( "kmmsgreplied") ); |
16 | } else if ( mail_data->getFlags().testBit( FLAG_SEEN ) == true ) { | 17 | } else if ( mail_data->getFlags().testBit( FLAG_SEEN ) == true ) { |
17 | /* I think it looks nicer if there are not such a log of icons but only on mails | 18 | /* I think it looks nicer if there are not such a log of icons but only on mails |
18 | replied or new - Alwin*/ | 19 | replied or new - Alwin*/ |
19 | //setPixmap( 0,SmallIcon ("kmmsgunseen") ); | 20 | //setPixmap( 0,SmallIcon ("kmmsgunseen") ); |
20 | } else { | 21 | } else { |
21 | setPixmap( 0,SmallIcon ( "kmmsgnew") ); | 22 | setPixmap( 0,SmallIcon ( "kmmsgnew") ); |
22 | } | 23 | } |
23 | double s = mail_data->Msgsize(); | 24 | double s = mail_data->Msgsize(); |
24 | int w = 0; | 25 | int w = 0; |