forked from qt-creator/qt-creator
RemoteLinux: Refactor application runner.
This removes the remaining Maemo dependencies from the generic case. Change-Id: If4f3e6c3b3768769af4f753c2d667df271de7ed4 Reviewed-on: http://codereview.qt.nokia.com/1823 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -146,7 +146,7 @@ void RemoteLinuxQmlProfilerRunner::handleRemoteProcessStarted()
|
||||
|
||||
void RemoteLinuxQmlProfilerRunner::handleRemoteProcessFinished(qint64 exitCode)
|
||||
{
|
||||
if (exitCode != RemoteLinuxApplicationRunner::InvalidExitCode) {
|
||||
if (exitCode != AbstractRemoteLinuxApplicationRunner::InvalidExitCode) {
|
||||
appendMessage(tr("Finished running remote process. Exit code was %1.\n")
|
||||
.arg(exitCode), Utils::NormalMessageFormat);
|
||||
}
|
||||
@@ -159,7 +159,7 @@ void RemoteLinuxQmlProfilerRunner::handleProgressReport(const QString &progressS
|
||||
appendMessage(progressString + QLatin1Char('\n'), Utils::NormalMessageFormat);
|
||||
}
|
||||
|
||||
RemoteLinuxApplicationRunner *RemoteLinuxQmlProfilerRunner::runner() const
|
||||
AbstractRemoteLinuxApplicationRunner *RemoteLinuxQmlProfilerRunner::runner() const
|
||||
{
|
||||
if (!m_runControl)
|
||||
return 0;
|
||||
|
||||
@@ -65,7 +65,7 @@ private slots:
|
||||
void handleProgressReport(const QString &progressString);
|
||||
|
||||
private:
|
||||
RemoteLinux::RemoteLinuxApplicationRunner *runner() const;
|
||||
RemoteLinux::AbstractRemoteLinuxApplicationRunner *runner() const;
|
||||
|
||||
int m_port;
|
||||
RemoteLinux::AbstractRemoteLinuxRunControl *m_runControl;
|
||||
|
||||
Reference in New Issue
Block a user