diff filestatuswidget.cpp @ 92:06f4fffd5287

* Rename StatParser to FileStates; start thinking about selections
author Chris Cannam
date Wed, 24 Nov 2010 13:23:30 +0000
parents 622da79c0f4f
children dfb7a274b90f
line wrap: on
line diff
--- a/filestatuswidget.cpp	Tue Nov 23 21:04:02 2010 +0000
+++ b/filestatuswidget.cpp	Wed Nov 24 13:23:30 2010 +0000
@@ -91,16 +91,16 @@
 }
 
 void
-FileStatusWidget::setStatParser(StatParser p)
+FileStatusWidget::setFileStates(FileStates p)
 {
-    m_statParser = p;
+    m_fileStates = p;
     updateWidgets();
 }
 
 void
 FileStatusWidget::updateWidgets()
 {
-    StatParser &sp = m_statParser;
+    FileStates &sp = m_fileStates;
     QMap<QStringList *, QListWidget *> listmap;
     listmap[&sp.modified] = m_modifiedList;
     listmap[&sp.added] = m_addedList;