comparison filestatuswidget.h @ 90:b43355c2473a

* Add filesystem watcher; initial work on enable/disable logic for actions in new scheme
author Chris Cannam
date Tue, 23 Nov 2010 16:35:49 +0000
parents c5e34ed5b791
children 06f4fffd5287
comparison
equal deleted inserted replaced
89:622da79c0f4f 90:b43355c2473a
39 void setRemoteURL(QString u); 39 void setRemoteURL(QString u);
40 40
41 StatParser statParser() const { return m_statParser; } 41 StatParser statParser() const { return m_statParser; }
42 void setStatParser(StatParser sp); 42 void setStatParser(StatParser sp);
43 43
44 bool haveChangesToCommit() const {
45 return !m_statParser.added.empty() ||
46 !m_statParser.removed.empty() ||
47 !m_statParser.modified.empty();
48 }
49
44 private: 50 private:
45 QString m_localPath; 51 QString m_localPath;
46 QLabel *m_localPathLabel; 52 QLabel *m_localPathLabel;
47 53
48 QString m_remoteURL; 54 QString m_remoteURL;