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 @@ +#ifndef __MAILLISTVIEWITEM_H +#define __MAILLISTVIEWITEM_H + +#include <qlistview.h> +#include <libmailwrapper/mailtypes.h> +#include <libmailwrapper/maildefines.h> + +class MailListViewItem:public QListViewItem +{ +public: + MailListViewItem(QListView * parent, MailListViewItem * after ); + virtual ~MailListViewItem(){} + + void storeData(const RecMailP&data); + const RecMailP&data()const; + void showEntry(); + MAILLIB::ATYPE wrapperType(); + +protected: + RecMailP mail_data; +}; + +#endif |