QtSortedCheckListItem.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
18 #ifndef _QtSorted_H_
19 #define _QtSorted_H_
20 
21 #include <qglobal.h> // for version
22 #if QT_VERSION < 0x040000
23 #include "qlistview.h"
24 #else
25 #include "q3listview.h"
26 #endif
27 
28 namespace hippodraw {
29 
30 
37 #if QT_VERSION < 0x040000
39 #else
40 class QtSortedCheckListItem : public Q3CheckListItem
41 #endif
42 {
43 
44 public:
45 
46 #if QT_VERSION < 0x040000
48  QtSortedCheckListItem ( QListView * parent, const QString & text );
49  virtual int compare ( QListViewItem *i, int col, bool ascending ) const;
50 #else
52  QtSortedCheckListItem ( Q3ListView * parent, const QString & text );
53  virtual int compare ( Q3ListViewItem *i, int col, bool ascending ) const;
54 #endif
55 
56 };
57 
58 } // namespace hippodraw
59 #endif //_QtSorted_H_
60 

Generated for HippoDraw Class Library by doxygen