Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
18109b9c
Commit
18109b9c
authored
Jun 29, 2010
by
Roberto Raggi
Browse files
Get the QmlJS::ModelManagerInterface instance.
parent
2ec7f0b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljsinspector/qmljsinspectorplugin.cpp
View file @
18109b9c
...
...
@@ -94,6 +94,11 @@ InspectorPlugin::~InspectorPlugin()
qDebug
()
<<
Q_FUNC_INFO
;
}
QmlJS
::
ModelManagerInterface
*
InspectorPlugin
::
modelManager
()
const
{
return
ExtensionSystem
::
PluginManager
::
instance
()
->
getObject
<
QmlJS
::
ModelManagerInterface
>
();
}
ClientProxy
*
InspectorPlugin
::
clientProxy
()
const
{
return
_clientProxy
;
...
...
src/plugins/qmljsinspector/qmljsinspectorplugin.h
View file @
18109b9c
...
...
@@ -30,6 +30,7 @@
#define QMLJSINSPECTORPLUGIN_H
#include
<extensionsystem/iplugin.h>
#include
<qmljs/qmljsmodelmanagerinterface.h>
#include
<QtCore/QObject>
#include
<QtCore/QPointer>
...
...
@@ -61,6 +62,7 @@ public:
static
InspectorPlugin
*
instance
();
QmlJS
::
ModelManagerInterface
*
modelManager
()
const
;
ClientProxy
*
clientProxy
()
const
;
Inspector
*
inspector
()
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment