On Sun, May 31, 2015 at 3:05 PM, Van Looy Detlev <
[email protected]> wrote:

>  Hello,
>
>  In a plugin I am making I have to keep track of whenever a user saves a
> .qml file. After some looking I think I need to connect to
> qmljs/qmljsmodelmanagerinterface's signal:
> "documentChangedOnDisk(QmlJS::Document::Ptr)", using
> ModelManagerInterface::instance().
>
> The problem is that when I do this in the "initialize" of my plugin, that
> instance() returns null. So my question is, when can I be sure that the
> modelmanagerinterface has been set up and that instance() will not return
> null? Should I do it in the "extensionsInitialized" of my plugin instead?
>
extensionsInitialized().

- Orgad
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to