Finish merging Runnable and StandardRunnable

As all Runnables are known to be StandardRunnables, this here
essentially replaces all .is<StandardRunnable> by 'true'.
.as<StandardRunnable> by no-op, and fixes the fallout.

Change-Id: I1632f8e164fa0a9dff063df47a9e191fdf7bbb2e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-05-16 15:42:03 +02:00
parent fdccc54275
commit 36b835ff0a
73 changed files with 147 additions and 286 deletions

View File

@@ -30,7 +30,6 @@
#include "qnxrunconfiguration.h"
#include <projectexplorer/runconfigurationaspects.h>
#include <projectexplorer/runnables.h>
#include <utils/qtcassert.h>
@@ -73,7 +72,7 @@ void Slog2InfoRunner::printMissingWarning()
void Slog2InfoRunner::start()
{
StandardRunnable r;
Runnable r;
r.executable = QLatin1String("slog2info");
m_testProcess->start(r);
reportStarted();
@@ -111,7 +110,7 @@ void Slog2InfoRunner::handleTestProcessCompleted()
void Slog2InfoRunner::readLaunchTime()
{
StandardRunnable r;
Runnable r;
r.executable = QLatin1String("date");
r.commandLineArguments = QLatin1String("+\"%d %H:%M:%S\"");
m_launchDateTimeProcess->start(r);
@@ -128,7 +127,7 @@ void Slog2InfoRunner::launchSlog2Info()
m_launchDateTime = QDateTime::fromString(QString::fromLatin1(m_launchDateTimeProcess->readAllStandardOutput()).trimmed(),
QString::fromLatin1("dd HH:mm:ss"));
StandardRunnable r;
Runnable r;
r.executable = QLatin1String("slog2info");
r.commandLineArguments = QLatin1String("-w");
m_logProcess->start(r);