QtSortedCheckListItem.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00018 #ifndef _QtSorted_H_
00019 #define _QtSorted_H_
00020 
00021 #include <qglobal.h> // for version
00022 #if QT_VERSION < 0x040000
00023 #include "qlistview.h"
00024 #else
00025 #include "q3listview.h"
00026 #endif
00027 
00028 namespace hippodraw {
00029 
00030 
00037 #if QT_VERSION < 0x040000
00038 class QtSortedCheckListItem : public QCheckListItem
00039 #else
00040 class QtSortedCheckListItem : public Q3CheckListItem
00041 #endif
00042 {
00043 
00044 public:
00045 
00046 #if QT_VERSION < 0x040000
00047   typedef QCheckListItem::Type Type;
00048   QtSortedCheckListItem ( QListView * parent, const QString & text );
00049   virtual int compare ( QListViewItem *i, int col, bool ascending ) const;
00050 #else
00051   typedef Q3CheckListItem::Type Type;
00052   QtSortedCheckListItem ( Q3ListView * parent, const QString & text );
00053   virtual int compare ( Q3ListViewItem *i, int col, bool ascending ) const;
00054 #endif
00055 
00056 };
00057 
00058 } // namespace hippodraw
00059 #endif //_QtSorted_H_
00060 

Generated for HippoDraw Class Library by doxygen