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