forked from qt-creator/qt-creator
AndroidRunSupport: Connect Signals to correct slots
Change-Id: Ib14ace6b66b78c5f74984a929a6a02c292e35127 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -95,6 +95,13 @@ AndroidAnalyzeSupport::AndroidAnalyzeSupport(AndroidRunConfiguration *runConfig,
|
|||||||
}
|
}
|
||||||
connect(m_runner, SIGNAL(remoteProcessStarted(int)),
|
connect(m_runner, SIGNAL(remoteProcessStarted(int)),
|
||||||
SLOT(handleRemoteProcessStarted(int)));
|
SLOT(handleRemoteProcessStarted(int)));
|
||||||
|
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||||
|
SLOT(handleRemoteProcessFinished(QString)));
|
||||||
|
|
||||||
|
connect(m_runner, SIGNAL(remoteErrorOutput(QByteArray)),
|
||||||
|
SLOT(handleRemoteErrorOutput(QByteArray)));
|
||||||
|
connect(m_runner, SIGNAL(remoteOutput(QByteArray)),
|
||||||
|
SLOT(handleRemoteOutput(QByteArray)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidAnalyzeSupport::handleRemoteProcessStarted(int qmlPort)
|
void AndroidAnalyzeSupport::handleRemoteProcessStarted(int qmlPort)
|
||||||
|
|||||||
@@ -153,6 +153,13 @@ AndroidDebugSupport::AndroidDebugSupport(AndroidRunConfiguration *runConfig,
|
|||||||
SLOT(handleRemoteServerRunning(QByteArray,int)));
|
SLOT(handleRemoteServerRunning(QByteArray,int)));
|
||||||
connect(m_runner, SIGNAL(remoteProcessStarted(int,int)),
|
connect(m_runner, SIGNAL(remoteProcessStarted(int,int)),
|
||||||
SLOT(handleRemoteProcessStarted(int,int)));
|
SLOT(handleRemoteProcessStarted(int,int)));
|
||||||
|
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||||
|
SLOT(handleRemoteProcessFinished(QString)));
|
||||||
|
|
||||||
|
connect(m_runner, SIGNAL(remoteErrorOutput(QByteArray)),
|
||||||
|
SLOT(handleRemoteErrorOutput(QByteArray)));
|
||||||
|
connect(m_runner, SIGNAL(remoteOutput(QByteArray)),
|
||||||
|
SLOT(handleRemoteOutput(QByteArray)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidDebugSupport::handleRemoteServerRunning(const QByteArray &serverChannel, int pid)
|
void AndroidDebugSupport::handleRemoteServerRunning(const QByteArray &serverChannel, int pid)
|
||||||
|
|||||||
@@ -43,14 +43,6 @@ AndroidRunSupport::AndroidRunSupport(AndroidRunConfiguration *runConfig,
|
|||||||
{
|
{
|
||||||
connect(m_runControl, SIGNAL(finished()),
|
connect(m_runControl, SIGNAL(finished()),
|
||||||
m_runner, SLOT(stop()));
|
m_runner, SLOT(stop()));
|
||||||
|
|
||||||
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
|
||||||
SLOT(handleRemoteProcessFinished(QString)));
|
|
||||||
|
|
||||||
connect(m_runner, SIGNAL(remoteErrorOutput(QByteArray)),
|
|
||||||
SLOT(handleRemoteErrorOutput(QByteArray)));
|
|
||||||
connect(m_runner, SIGNAL(remoteOutput(QByteArray)),
|
|
||||||
SLOT(handleRemoteOutput(QByteArray)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidRunSupport::handleRemoteProcessFinished(const QString &errorMsg)
|
void AndroidRunSupport::handleRemoteProcessFinished(const QString &errorMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user