summaryrefslogtreecommitdiffabout
path: root/kmicromail/mailistviewitem.h
Side-by-side diff
Diffstat (limited to 'kmicromail/mailistviewitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mailistviewitem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kmicromail/mailistviewitem.h b/kmicromail/mailistviewitem.h
index d953d83..cf8040b 100644
--- a/kmicromail/mailistviewitem.h
+++ b/kmicromail/mailistviewitem.h
@@ -1,23 +1,26 @@
#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();
-
+ QString key(int column, bool) const;
+ void setSortKey(int column,const QString &key);
protected:
- RecMailP mail_data;
+ RecMailP mail_data;
+ private:
+ QMap<int,QString> mKeyMap;
};
#endif