Commit 19a47fed authored by hjk's avatar hjk
Browse files

ProjectExplorer: Remove various RunControl::report* functions



The interface has now moved to the RunWorkers.

Change-Id: I1ebf74c081697b8e44926ab00053417f9f60647d
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 0448ac5c
......@@ -1150,16 +1150,6 @@ void RunControl::bringApplicationToForeground()
#endif
}
void RunControl::reportApplicationStart()
{
QTC_CHECK(false);// FIXME: Legacy
}
void RunControl::reportApplicationStop()
{
QTC_CHECK(false);// FIXME: Legacy
}
void RunControl::bringApplicationToForegroundInternal()
{
#ifdef Q_OS_OSX
......@@ -1315,12 +1305,6 @@ void SimpleTargetRunner::onProcessError(QProcess::ProcessError)
reportStopped();
}
void RunControl::reportFailure(const QString &msg)
{
d->showError(msg);
d->setState(RunControlState::Stopped);
}
// RunWorkerPrivate
RunWorkerPrivate::RunWorkerPrivate(RunWorker *runWorker, RunControl *runControl)
......
......@@ -469,10 +469,6 @@ public:
virtual void notifyRemoteSetupFailed(const QString &) {} // Same.
virtual void notifyRemoteFinished() {} // Same.
void reportApplicationStart(); // FIXME: Don't use
void reportApplicationStop(); // FIXME: Don't use
void reportFailure(const QString &msg = QString());
static bool showPromptToStopDialog(const QString &title, const QString &text,
const QString &stopButtonText = QString(),
const QString &cancelButtonText = QString(),
......@@ -505,8 +501,8 @@ signals:
const QString &msg, Utils::OutputFormat format);
void aboutToStart();
void starting();
void started(); // Use reportApplicationStart!
void finished(); // Use reportApplicationStop!
void started();
void finished();
void applicationProcessHandleChanged(QPrivateSignal); // Use setApplicationProcessHandle
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment