aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-05-09 14:40:37 +0200
committerhjk <hjk@qt.io>2022-05-09 14:12:33 +0000
commit6e1cfeaf3f29e9ad8c7d8b309a3ed19495fc6520 (patch)
tree693a53f974b3bb77ba5f8ed2028545e00b55c44f /src/plugins/projectexplorer/applicationlauncher.h
parentdea72a4003f6ec4a2811c5be9675553db3d34544 (diff)
ProjectExplorer: Consolidate ApplicationLauncher error access
Change-Id: I2f6dd54685c2c148f78f9853fd1d93a311eb16bb Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h
index edb8e2b0e4..251a6be85f 100644
--- a/src/plugins/projectexplorer/applicationlauncher.h
+++ b/src/plugins/projectexplorer/applicationlauncher.h
@@ -34,7 +34,10 @@
#include <memory>
-namespace Utils { class ProcessHandle; }
+namespace Utils {
+class ProcessHandle;
+class ProcessResultData;
+} // Utils
namespace ProjectExplorer {
@@ -57,13 +60,10 @@ public:
void start();
void stop();
- Utils::ProcessHandle applicationPID() const;
- QString errorString() const;
+ Utils::ProcessHandle applicationPID() const;
- int exitCode() const;
- QProcess::ExitStatus exitStatus() const;
- QProcess::ProcessError error() const;
+ Utils::ProcessResultData resultData() const;
signals:
void appendMessage(const QString &message, Utils::OutputFormat format, bool appendNewLine = true);