Diffstat (limited to 'noncore/net/mail/mailistviewitem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/mailistviewitem.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/net/mail/mailistviewitem.h b/noncore/net/mail/mailistviewitem.h new file mode 100644 index 0000000..60bfdda --- a/dev/null +++ b/noncore/net/mail/mailistviewitem.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef __MAILLISTVIEWITEM_H | ||
2 | #define __MAILLISTVIEWITEM_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | #include "mailtypes.h" | ||
6 | |||
7 | class MailListViewItem:public QListViewItem | ||
8 | { | ||
9 | public: | ||
10 | MailListViewItem(QListView * parent, MailListViewItem * after ); | ||
11 | virtual ~MailListViewItem(){} | ||
12 | |||
13 | void storeData(const RecMail&data); | ||
14 | const RecMail&data()const; | ||
15 | void showEntry(); | ||
16 | |||
17 | protected: | ||
18 | RecMail mail_data; | ||
19 | }; | ||
20 | |||
21 | #endif | ||