showlistviewitem.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           showlistviewitem.h  -  description
00003                              -------------------
00004     begin                : Son Apr 21 2002
00005     copyright            : (C) 2002 by Eggert Ehmke
00006     email                : eggert.ehmke@berlin.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef SHOWLISTVIEWITEM_H
00019 #define SHOWLISTVIEWITEM_H
00020 
00021 #include <qlistview.h>
00022 
00027 class ShowListViewItem : public QListViewItem
00028 {
00029 public:
00030 
00036   ShowListViewItem (QListView * parent, ShowListViewItem * after);
00037 
00042   ShowListViewItem( QListView* parent );
00043 
00044 
00045   virtual       ~ShowListViewItem();
00046   virtual QString key (int column, bool ascending) const;
00051   virtual int compare( QListViewItem *i, int col, bool ascending ) const;
00052   void setNumber (const QString&);
00053   void setAccount(const QString&);
00054   void setFrom(const QString&);
00055   void setTo(const QString&);
00056   void setSubject(const QString&);
00057   void setDate(const QString&);
00058   void setSize(const QString&);
00059   void setContent(const QString&);
00060   void setState(const QString&);
00061   void setTime (const QString&);
00062   enum {_colNumber, _colAccount, _colFrom, _colTo, _colSubject, _colDate,
00063         _colSize, _colContent, _colState};
00064 private:
00065         QString m_time;
00066 };
00067 
00068 
00069 #endif

Generated on Tue Apr 1 21:59:49 2008 for kshowmail.kdevelop by  doxygen 1.5.0