comparison hgtabwidget.h @ 109:1721c580c10e

* Add a queueing mechanism for Hg actions, instead of refusing to start an action if something else is already happening. This is essential now that actions can be prompted by asynchronous events (e.g. filesystem watcher). * Make Revert behave sensibly
author Chris Cannam
date Fri, 26 Nov 2010 12:48:29 +0000
parents 729438d70af8
children 78374cefa10f
comparison
equal deleted inserted replaced
108:8ae3b44c0073 109:1721c580c10e
46 void setBranch(QString branch); 46 void setBranch(QString branch);
47 47
48 FileStates getFileStates() { return fileStates; } 48 FileStates getFileStates() { return fileStates; }
49 49
50 bool canCommit() const; 50 bool canCommit() const;
51 bool canRevert() const;
51 bool canAdd() const; 52 bool canAdd() const;
52 bool canRemove() const; 53 bool canRemove() const;
53 bool canDoDiff() const; 54 bool canDoDiff() const;
54 55
55 QStringList getAllSelectedFiles() const; 56 QStringList getAllSelectedFiles() const;
56 57
57 QStringList getSelectedCommittableFiles() const; 58 QStringList getSelectedCommittableFiles() const;
58 QStringList getAllCommittableFiles() const; 59 QStringList getAllCommittableFiles() const;
60
61 QStringList getSelectedRevertableFiles() const;
62 QStringList getAllRevertableFiles() const;
59 63
60 QStringList getSelectedAddableFiles() const; 64 QStringList getSelectedAddableFiles() const;
61 QStringList getAllAddableFiles() const; 65 QStringList getAllAddableFiles() const;
62 66
63 QStringList getSelectedRemovableFiles() const; 67 QStringList getSelectedRemovableFiles() const;