aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/shellcommand.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-04 15:11:50 +0200
committerTobias Hunger <tobias.hunger@qt.io>2016-07-15 14:21:21 +0000
commitcc27125092b32a69422aa946dfdbdb66d5d8e428 (patch)
treed74a1b340f700cf0cfdca7035d28cf8dbd81b4ae /src/libs/utils/shellcommand.h
parentca7a924a068b23815e3915b1f2887eed0e38ef7f (diff)
Utils::Shellcommand: Remove runFullySynchronous
Nobody uses that anymore. Change-Id: I24935ac8d25eb639eb253250749750993c740516 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/utils/shellcommand.h')
-rw-r--r--src/libs/utils/shellcommand.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libs/utils/shellcommand.h b/src/libs/utils/shellcommand.h
index 62949b8c63b..4511611b869 100644
--- a/src/libs/utils/shellcommand.h
+++ b/src/libs/utils/shellcommand.h
@@ -115,7 +115,7 @@ public:
const QString &workingDirectory = QString(), const ExitCodeInterpreter &interpreter = defaultExitCodeInterpreter);
void addJob(const FileName &binary, const QStringList &arguments, int timeoutS,
const QString &workingDirectory = QString(), const ExitCodeInterpreter &interpreter = defaultExitCodeInterpreter);
- void execute();
+ void execute(); // Execute tasks asynchronously!
void abort();
bool lastExecutionSuccess() const;
int lastExecutionExitCode() const;
@@ -144,12 +144,7 @@ public:
int timeoutS,
const QString &workingDirectory = QString(),
const ExitCodeInterpreter &interpreter = defaultExitCodeInterpreter);
- // Make sure to not pass through the event loop at all:
- virtual bool runFullySynchronous(const FileName &binary, const QStringList &arguments,
- int timeoutS, QByteArray *outputData, QByteArray *errorData,
- const QString &workingDirectory = QString());
-public slots:
void cancel();
signals: