diff data/model/ModelDataTableModel.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 2b3a8ae04597
children 59e7fe1b1003
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp	Tue Nov 26 11:16:37 2013 +0000
+++ b/data/model/ModelDataTableModel.cpp	Tue Nov 26 13:35:08 2013 +0000
@@ -205,7 +205,7 @@
     m_sortOrdering = sortOrder;
     int current = getCurrentRow();
     if (current != prevCurrent) {
-//         std::cerr << "Current row changed from " << prevCurrent << " to " << current << " for underlying row " << m_currentRow << std::endl;
+//         cerr << "Current row changed from " << prevCurrent << " to " << current << " for underlying row " << m_currentRow << endl;
         emit currentChanged(createIndex(current, 0, (void *)0));
     }
     emit layoutChanged();
@@ -297,7 +297,7 @@
     bool numeric = (m_model->getSortType(m_sortColumn) ==
                     TabularModel::SortNumeric);
 
-//    std::cerr << "resort: numeric == " << numeric << std::endl;
+//    cerr << "resort: numeric == " << numeric << endl;
 
     m_sort.clear();
     m_rsort.clear();
@@ -338,7 +338,7 @@
     }
 
     for (MapType::iterator i = rowMap.begin(); i != rowMap.end(); ++i) {
-//        std::cerr << "resortNumeric: " << i->second << ": " << i->first << std::endl;
+//        cerr << "resortNumeric: " << i->second << ": " << i->first << endl;
         m_rsort.push_back(i->second);
     }
 
@@ -362,7 +362,7 @@
     }
 
     for (MapType::iterator i = rowMap.begin(); i != rowMap.end(); ++i) {
-//        std::cerr << "resortAlphabetical: " << i->second << ": " << i->first << std::endl;
+//        cerr << "resortAlphabetical: " << i->second << ": " << i->first << endl;
         m_rsort.push_back(i->second);
     }
 
@@ -388,7 +388,7 @@
     m_sort.clear();
 //    int current = getCurrentRow(); //!!! no --  not until the sort criteria have changed
 //    if (current != prevCurrent) {
-//        std::cerr << "Current row changed from " << prevCurrent << " to " << current << " for underlying row " << m_currentRow << std::endl;
+//        cerr << "Current row changed from " << prevCurrent << " to " << current << " for underlying row " << m_currentRow << endl;
 //        emit currentRowChanged(createIndex(current, 0, 0));
 //    }
 }