summaryrefslogtreecommitdiffabout
path: root/kmicromail/mailistviewitem.h
blob: ecc01ba1a51cfea70f53db0e3feee3ac6e336d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// CHANGED 2004-08-06 Lutz Rogowski
#ifndef __MAILLISTVIEWITEM_H
#define __MAILLISTVIEWITEM_H

#include <klistview.h>
#include <libmailwrapper/mailtypes.h>
#include <libmailwrapper/maildefines.h>

class MailListViewItem:public KListViewItem
{
public:
    MailListViewItem(Q3ListView * 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;  
 private:
    QMap<int,QString> mKeyMap;
};

#endif