- Main Page
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

# 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 <ntqlistview.h>
    00022
    00027 class ShowListViewItem : public TQListViewItem
    00028 {
    00029 public:
    00030
    00036   ShowListViewItem (TQListView * parent, ShowListViewItem * after);
    00037
    00042   ShowListViewItem( TQListView* parent );
    00043
    00044
    00045   virtual       ~ShowListViewItem();
    00046   virtual TQString key (int column, bool ascending) const;
    00051   virtual int compare( TQListViewItem *i, int col, bool ascending ) const;
    00052   void setNumber (const TQString&);
    00053   void setAccount(const TQString&);
    00054   void setFrom(const TQString&);
    00055   void setTo(const TQString&);
    00056   void setSubject(const TQString&);
    00057   void setDate(const TQString&);
    00058   void setSize(const TQString&);
    00059   void setContent(const TQString&);
    00060   void setState(const TQString&);
    00061   void setTime (const TQString&);
    00062   enum {_colNumber, _colAccount, _colFrom, _colTo, _colSubject, _colDate,
    00063         _colSize, _colContent, _colState};
    00064 private:
    00065         TQString m_time;
    00066 };
    00067
    00068
    00069 #endif