MaemoDebugSupport::MaemoDebugSupport(RemoteLinuxRunConfiguration *runConfig, DebuggerEngine *engine, bool useGdb) : QObject(engine), m_engine(engine), m_runConfig(runConfig), m_deviceConfig(m_runConfig->deviceConfig()), m_runner(new MaemoSshRunner(this, runConfig, true)), m_debuggingType(runConfig->debuggingType()), m_state(Inactive), m_gdbServerPort(-1), m_qmlPort(-1), m_useGdb(useGdb) { connect(m_engine, SIGNAL(requestRemoteSetup()), this, SLOT(handleAdapterSetupRequested())); }
IosDebugSupport::IosDebugSupport(IosRunConfiguration *runConfig, DebuggerRunControl *runControl, bool cppDebug, bool qmlDebug) : QObject(runControl), m_runControl(runControl), m_runner(new IosRunner(this, runConfig, cppDebug, qmlDebug)) { connect(m_runControl->engine(), SIGNAL(requestRemoteSetup()), m_runner, SLOT(start())); connect(m_runControl, SIGNAL(finished()), m_runner, SLOT(stop())); connect(m_runner, SIGNAL(gotServerPorts(int,int)), SLOT(handleServerPorts(int,int))); connect(m_runner, SIGNAL(gotInferiorPid(Q_PID, int)), SLOT(handleGotInferiorPid(Q_PID, int))); connect(m_runner, SIGNAL(finished(bool)), SLOT(handleRemoteProcessFinished(bool))); connect(m_runner, SIGNAL(errorMsg(QString)), SLOT(handleRemoteErrorOutput(QString))); connect(m_runner, SIGNAL(appOutput(QString)), SLOT(handleRemoteOutput(QString))); }