forked from qt-creator/qt-creator
debugger: more interface cleanup
Looks like DebuggerPlugin::mainWindow() was used after all.
This commit is contained in:
@@ -3340,6 +3340,11 @@ bool DebuggerPlugin::isActiveDebugLanguage(int language)
|
|||||||
return theDebuggerCore->isActiveDebugLanguage(language);
|
return theDebuggerCore->isActiveDebugLanguage(language);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DebuggerMainWindow *DebuggerPlugin::mainWindow()
|
||||||
|
{
|
||||||
|
return theDebuggerCore->m_mainWindow;
|
||||||
|
}
|
||||||
|
|
||||||
QWidget *DebugMode::widget()
|
QWidget *DebugMode::widget()
|
||||||
{
|
{
|
||||||
if (!m_widget) {
|
if (!m_widget) {
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ class RunControl;
|
|||||||
|
|
||||||
namespace Debugger {
|
namespace Debugger {
|
||||||
|
|
||||||
|
class DebuggerMainWindow;
|
||||||
class DebuggerRunControl;
|
class DebuggerRunControl;
|
||||||
class DebuggerStartParameters;
|
class DebuggerStartParameters;
|
||||||
|
|
||||||
@@ -59,11 +60,15 @@ public:
|
|||||||
DebuggerPlugin();
|
DebuggerPlugin();
|
||||||
~DebuggerPlugin();
|
~DebuggerPlugin();
|
||||||
|
|
||||||
|
// Used by Maemo debugging support.
|
||||||
static DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp,
|
static DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp,
|
||||||
ProjectExplorer::RunConfiguration *rc = 0);
|
ProjectExplorer::RunConfiguration *rc = 0);
|
||||||
static void startDebugger(ProjectExplorer::RunControl *runControl);
|
static void startDebugger(ProjectExplorer::RunControl *runControl);
|
||||||
static void displayDebugger(ProjectExplorer::RunControl *runControl);
|
static void displayDebugger(ProjectExplorer::RunControl *runControl);
|
||||||
|
|
||||||
|
// Used by QmlJSInspector.
|
||||||
static bool isActiveDebugLanguage(int language);
|
static bool isActiveDebugLanguage(int language);
|
||||||
|
static DebuggerMainWindow *mainWindow();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// IPlugin implementation.
|
// IPlugin implementation.
|
||||||
|
|||||||
@@ -54,7 +54,6 @@
|
|||||||
|
|
||||||
using namespace Core;
|
using namespace Core;
|
||||||
using namespace Debugger;
|
using namespace Debugger;
|
||||||
using namespace Debugger::Internal;
|
|
||||||
using namespace ProjectExplorer;
|
using namespace ProjectExplorer;
|
||||||
|
|
||||||
namespace Qt4ProjectManager {
|
namespace Qt4ProjectManager {
|
||||||
|
|||||||
Reference in New Issue
Block a user