Maemo: Get rid of MaemoDebugRunControl.

Use Debugger::DebuggerRunControl directly instead of wrapping it
into another RunControl.

Reviewed-by: hjk
This commit is contained in:
ck
2010-07-15 16:43:56 +02:00
parent db99f82863
commit 08bc6c0027
16 changed files with 536 additions and 337 deletions

View File

@@ -924,7 +924,8 @@ public slots:
QVariant configValue(const QString &name) const
{ return settings()->value(name); }
DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp);
DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp,
ProjectExplorer::RunConfiguration *rc = 0);
void startDebugger(ProjectExplorer::RunControl *runControl);
void displayDebugger(ProjectExplorer::RunControl *runControl);
@@ -1921,9 +1922,10 @@ void DebuggerPluginPrivate::showToolTip(ITextEditor *editor, const QPoint &point
}
DebuggerRunControl *
DebuggerPluginPrivate::createDebugger(const DebuggerStartParameters &sp)
DebuggerPluginPrivate::createDebugger(const DebuggerStartParameters &sp,
ProjectExplorer::RunConfiguration *rc)
{
return m_debuggerRunControlFactory->create(sp);
return m_debuggerRunControlFactory->create(sp, rc);
}
void DebuggerPluginPrivate::displayDebugger(ProjectExplorer::RunControl *rc)
@@ -2643,9 +2645,10 @@ QWidget *DebuggerPlugin::mainWindow() const
}
DebuggerRunControl *
DebuggerPlugin::createDebugger(const DebuggerStartParameters &sp)
DebuggerPlugin::createDebugger(const DebuggerStartParameters &sp,
ProjectExplorer::RunConfiguration *rc)
{
return instance()->d->createDebugger(sp);
return instance()->d->createDebugger(sp, rc);
}
void DebuggerPlugin::startDebugger(ProjectExplorer::RunControl *runControl)