Mercurial > hg > easyhg
diff filestates.h @ 199:f16fe0db11f3
* Add "Show All Files" toggle to show ignored and clean files
* Clear selection when Esc is pressed
* Don't delete and recreate the filesystem watcher on stat, just update it
author | Chris Cannam |
---|---|
date | Mon, 03 Jan 2011 22:02:08 +0000 |
parents | 5c262ac73948 |
children | 3d4291d4226c |
line wrap: on
line diff
--- a/filestates.h Mon Jan 03 14:31:22 2011 +0000 +++ b/filestates.h Mon Jan 03 22:02:08 2011 +0000 @@ -39,9 +39,10 @@ Missing, Clean, Unknown, + Ignored, FirstState = Modified, - LastState = Unknown + LastState = Ignored }; void parseStates(QString text); @@ -56,6 +57,8 @@ QStringList removed() const { return m_removed; } QStringList missing() const { return m_missing; } QStringList inConflict() const { return m_inConflict; } + QStringList clean() const { return m_clean; } + QStringList ignored() const { return m_ignored; } State getStateOfFile(QString file) const; @@ -66,6 +69,8 @@ QStringList m_removed; QStringList m_missing; QStringList m_inConflict; + QStringList m_clean; + QStringList m_ignored; QMap<QString, State> m_stateMap; State charToState(QChar, bool * = 0);