Fix QmlInspector to work properly now that QmlProjectManager

no longer uses LocalAppRunConfiguration. QmlInspector now uses
the qmlviewer started by QmlProjectManager instead of starting
its own, and clicking the Start Debug button within a QML
project will switch to QML Inspect mode and start the inspector.
This commit is contained in:
Bea Lam
2009-12-18 15:32:36 +10:00
parent 6ca55f201f
commit 200a03ed20
9 changed files with 54 additions and 385 deletions

View File

@@ -38,14 +38,12 @@ QT_BEGIN_NAMESPACE
class QStringList;
class QmlInspectorRunControlFactory;
class QmlInspectorMode;
class InspectorOutputPane;
namespace ProjectExplorer
namespace Core
{
class RunControl;
class IMode;
}
class QmlInspectorPlugin : public ExtensionSystem::IPlugin
@@ -61,15 +59,11 @@ public:
virtual void shutdown();
private slots:
void startViewer();
void stopViewer();
void currentModeChanged(Core::IMode *mode);
private:
QmlInspectorMode *m_inspectMode;
InspectorOutputPane *m_outputPane;
QmlInspectorRunControlFactory *m_runControlFactory;
QPointer<ProjectExplorer::RunControl> m_runControl;
};