#include <showlistviewitem.h>
Public Types | |
enum | { _colNumber, _colAccount, _colFrom, _colTo, _colSubject, _colDate, _colSize, _colContent, _colState } |
Public Member Functions | |
ShowListViewItem (QListView *parent, ShowListViewItem *after) | |
ShowListViewItem (QListView *parent) | |
virtual | ~ShowListViewItem () |
virtual QString | key (int column, bool ascending) const |
virtual int | compare (QListViewItem *i, int col, bool ascending) const |
void | setNumber (const QString &) |
void | setAccount (const QString &) |
void | setFrom (const QString &) |
void | setTo (const QString &) |
void | setSubject (const QString &) |
void | setDate (const QString &) |
void | setSize (const QString &) |
void | setContent (const QString &) |
void | setState (const QString &) |
void | setTime (const QString &) |
Private Attributes | |
QString | m_time |
anonymous enum |
ShowListViewItem::ShowListViewItem | ( | QListView * | parent, | |
ShowListViewItem * | after | |||
) |
Constructor
parent | mail list view | |
after | insert the new item after this item |
ShowListViewItem::ShowListViewItem | ( | QListView * | parent | ) |
Constructor
parent | mail list view |
ShowListViewItem::~ShowListViewItem | ( | ) | [virtual] |
QString ShowListViewItem::key | ( | int | column, | |
bool | ascending | |||
) | const [virtual] |
int ShowListViewItem::compare | ( | QListViewItem * | i, | |
int | col, | |||
bool | ascending | |||
) | const [virtual] |
reimplement compare to solve bug #856005 standard compare is locale dependant
void ShowListViewItem::setNumber | ( | const QString & | ) |
void ShowListViewItem::setAccount | ( | const QString & | ) |
void ShowListViewItem::setFrom | ( | const QString & | ) |
void ShowListViewItem::setTo | ( | const QString & | ) |
void ShowListViewItem::setSubject | ( | const QString & | ) |
void ShowListViewItem::setDate | ( | const QString & | ) |
void ShowListViewItem::setSize | ( | const QString & | ) |
void ShowListViewItem::setContent | ( | const QString & | ) |
void ShowListViewItem::setState | ( | const QString & | ) |
void ShowListViewItem::setTime | ( | const QString & | ) |
QString ShowListViewItem::m_time [private] |