aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/buildstep.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-04-20 12:49:25 +0200
committerTobias Hunger <tobias.hunger@qt.io>2016-04-25 11:23:42 +0000
commit2e5102f45e7f5d4eb0e0afe6f38e378582d6316f (patch)
tree3dafcb62a32fe964235016950c892f2e674bb08c /src/plugins/projectexplorer/buildstep.h
parentf421176f2238e13a19816d61a09767cf60fb2066 (diff)
BuildStep: Remove finished() signal and use FutureInterface to report
Remove the finished() signal that is (sometimes) used to report that a buildstep is done and use the FutureInterface for that purpose consistently. Change-Id: Ibe5520b562b91f1a7f4fc73ee898b33b930029ec Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r--src/plugins/projectexplorer/buildstep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h
index e4a19efbdc..dfa3c05f2f 100644
--- a/src/plugins/projectexplorer/buildstep.h
+++ b/src/plugins/projectexplorer/buildstep.h
@@ -75,6 +75,8 @@ public:
enum OutputFormat { NormalOutput, ErrorOutput, MessageOutput, ErrorMessageOutput };
enum OutputNewlineSetting { DoAppendNewline, DontAppendNewline };
+ static void reportRunResult(QFutureInterface<bool> &fi, bool success);
+
signals:
/// Adds a \p task to the Issues pane.
/// Do note that for linking compile output with tasks, you should first emit the task
@@ -86,8 +88,6 @@ signals:
void addOutput(const QString &string, ProjectExplorer::BuildStep::OutputFormat format,
ProjectExplorer::BuildStep::OutputNewlineSetting newlineSetting = DoAppendNewline);
- void finished();
-
void enabledChanged();
private: