diff data/model/ModelDataTableModel.cpp @ 426:2386582f67cd

* build fix
author Chris Cannam
date Mon, 16 Jun 2008 07:55:35 +0000
parents f5e8f12d2e58
children 72ec275e458b
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp	Fri Jun 13 21:09:43 2008 +0000
+++ b/data/model/ModelDataTableModel.cpp	Mon Jun 16 07:55:35 2008 +0000
@@ -151,7 +151,7 @@
 }
 
 int
-ModelDataTableModel::getSorted(int row)
+ModelDataTableModel::getSorted(int row) const
 {
     if (m_model->isColumnTimeValue(m_sortColumn)) {
         if (m_sortOrdering == Qt::AscendingOrder) {
@@ -176,7 +176,7 @@
 }
 
 int
-ModelDataTableModel::getUnsorted(int row)
+ModelDataTableModel::getUnsorted(int row) const
 {
     if (m_model->isColumnTimeValue(m_sortColumn)) {
         if (m_sortOrdering == Qt::AscendingOrder) {
@@ -203,7 +203,7 @@
 }
 
 void
-ModelDataTableModel::resort()
+ModelDataTableModel::resort() const
 {
     bool numeric = (m_model->getSortType(m_sortColumn) ==
                     TabularModel::SortNumeric);
@@ -232,7 +232,7 @@
 }
 
 void
-ModelDataTableModel::resortNumeric()
+ModelDataTableModel::resortNumeric() const
 {
     typedef std::multimap<double, int> MapType;
 
@@ -252,7 +252,7 @@
 }
 
 void
-ModelDataTableModel::resortAlphabetical()
+ModelDataTableModel::resortAlphabetical() const
 {
     typedef std::multimap<QString, int> MapType;