Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.h @ 426:2386582f67cd
* build fix
author | Chris Cannam |
---|---|
date | Mon, 16 Jun 2008 07:55:35 +0000 |
parents | 4caa28a0a8a2 |
children | 72ec275e458b |
comparison
equal
deleted
inserted
replaced
425:f5e8f12d2e58 | 426:2386582f67cd |
---|---|
64 protected: | 64 protected: |
65 TabularModel *m_model; | 65 TabularModel *m_model; |
66 int m_sortColumn; | 66 int m_sortColumn; |
67 Qt::SortOrder m_sortOrdering; | 67 Qt::SortOrder m_sortOrdering; |
68 typedef std::vector<int> RowList; | 68 typedef std::vector<int> RowList; |
69 RowList m_sort; | 69 mutable RowList m_sort; |
70 RowList m_rsort; | 70 mutable RowList m_rsort; |
71 int getSorted(int row); | 71 int getSorted(int row) const; |
72 int getUnsorted(int row); | 72 int getUnsorted(int row) const; |
73 void resort(); | 73 void resort() const; |
74 void resortNumeric(); | 74 void resortNumeric() const; |
75 void resortAlphabetical(); | 75 void resortAlphabetical() const; |
76 }; | 76 }; |
77 | 77 |
78 #endif | 78 #endif |