debugger: move convienience function to DebuggerEngine base class

This commit is contained in:
hjk
2010-07-21 14:24:29 +02:00
parent b31a29b18d
commit 9cbbeec6c1
10 changed files with 20 additions and 19 deletions

View File

@@ -1422,7 +1422,7 @@ qint64 DebuggerEngine::inferiorPid() const
return d->m_inferiorPid;
}
DebuggerPlugin *DebuggerEngine::plugin() const
DebuggerPlugin *DebuggerEngine::plugin()
{
return DebuggerPlugin::instance();
}
@@ -1475,6 +1475,12 @@ void DebuggerEngine::progressPing()
d->m_progress.setProgressValue(qMin(70, progress + 1));
}
QMessageBox *DebuggerEngine::showMessageBox(int icon, const QString &title,
const QString &text, int buttons)
{
return plugin()->showMessageBox(icon, title, text, buttons);
}
} // namespace Internal
} // namespace Debugger