diff src/hgrunner.h @ 564:39cac58b4f92

Add commandCancelled signal -- but don't make use of it; it didn't work out as I'd hoped
author Chris Cannam
date Tue, 28 Feb 2012 16:59:25 +0000
parents 1ff2a1bf0a40
children 012ba1b83328
line wrap: on
line diff
--- a/src/hgrunner.h	Tue Feb 28 14:38:42 2012 +0000
+++ b/src/hgrunner.h	Tue Feb 28 16:59:25 2012 +0000
@@ -46,6 +46,13 @@
     void commandCompleted(HgAction action, QString stdOut);
     void commandFailed(HgAction action, QString stdErr, QString stdOut);
 
+    /**
+     * Emitted when the currently executing command is cancelled. Note
+     * that this clears the queue completely, so all subsequent
+     * commands are also discarded.
+     */
+    void commandCancelled(HgAction action);
+
 private slots:
     void started();
     void error(QProcess::ProcessError);