forked from qt-creator/qt-creator
ProjectExplorer: Remove various RunControl::report* functions
The interface has now moved to the RunWorkers. Change-Id: I1ebf74c081697b8e44926ab00053417f9f60647d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1150,16 +1150,6 @@ void RunControl::bringApplicationToForeground()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunControl::reportApplicationStart()
|
|
||||||
{
|
|
||||||
QTC_CHECK(false);// FIXME: Legacy
|
|
||||||
}
|
|
||||||
|
|
||||||
void RunControl::reportApplicationStop()
|
|
||||||
{
|
|
||||||
QTC_CHECK(false);// FIXME: Legacy
|
|
||||||
}
|
|
||||||
|
|
||||||
void RunControl::bringApplicationToForegroundInternal()
|
void RunControl::bringApplicationToForegroundInternal()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_OSX
|
#ifdef Q_OS_OSX
|
||||||
@@ -1315,12 +1305,6 @@ void SimpleTargetRunner::onProcessError(QProcess::ProcessError)
|
|||||||
reportStopped();
|
reportStopped();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunControl::reportFailure(const QString &msg)
|
|
||||||
{
|
|
||||||
d->showError(msg);
|
|
||||||
d->setState(RunControlState::Stopped);
|
|
||||||
}
|
|
||||||
|
|
||||||
// RunWorkerPrivate
|
// RunWorkerPrivate
|
||||||
|
|
||||||
RunWorkerPrivate::RunWorkerPrivate(RunWorker *runWorker, RunControl *runControl)
|
RunWorkerPrivate::RunWorkerPrivate(RunWorker *runWorker, RunControl *runControl)
|
||||||
|
|||||||
@@ -469,10 +469,6 @@ public:
|
|||||||
virtual void notifyRemoteSetupFailed(const QString &) {} // Same.
|
virtual void notifyRemoteSetupFailed(const QString &) {} // Same.
|
||||||
virtual void notifyRemoteFinished() {} // 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,
|
static bool showPromptToStopDialog(const QString &title, const QString &text,
|
||||||
const QString &stopButtonText = QString(),
|
const QString &stopButtonText = QString(),
|
||||||
const QString &cancelButtonText = QString(),
|
const QString &cancelButtonText = QString(),
|
||||||
@@ -505,8 +501,8 @@ signals:
|
|||||||
const QString &msg, Utils::OutputFormat format);
|
const QString &msg, Utils::OutputFormat format);
|
||||||
void aboutToStart();
|
void aboutToStart();
|
||||||
void starting();
|
void starting();
|
||||||
void started(); // Use reportApplicationStart!
|
void started();
|
||||||
void finished(); // Use reportApplicationStop!
|
void finished();
|
||||||
void applicationProcessHandleChanged(QPrivateSignal); // Use setApplicationProcessHandle
|
void applicationProcessHandleChanged(QPrivateSignal); // Use setApplicationProcessHandle
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user