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:
Christian Kandeler
2011-07-19 14:30:06 +02:00
parent a83d463fa5
commit 410d5bd0cf
16 changed files with 364 additions and 307 deletions

View File

@@ -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;

View File

@@ -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;