comparison 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
comparison
equal deleted inserted replaced
563:0a094020c2d4 564:39cac58b4f92
43 43
44 signals: 44 signals:
45 void commandStarting(HgAction action); 45 void commandStarting(HgAction action);
46 void commandCompleted(HgAction action, QString stdOut); 46 void commandCompleted(HgAction action, QString stdOut);
47 void commandFailed(HgAction action, QString stdErr, QString stdOut); 47 void commandFailed(HgAction action, QString stdErr, QString stdOut);
48
49 /**
50 * Emitted when the currently executing command is cancelled. Note
51 * that this clears the queue completely, so all subsequent
52 * commands are also discarded.
53 */
54 void commandCancelled(HgAction action);
48 55
49 private slots: 56 private slots:
50 void started(); 57 void started();
51 void error(QProcess::ProcessError); 58 void error(QProcess::ProcessError);
52 void finished(int procExitCode, QProcess::ExitStatus procExitStatus); 59 void finished(int procExitCode, QProcess::ExitStatus procExitStatus);