diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-16 16:51:45 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-16 16:51:45 +0100 |
commit | 2edcc7ef33f20e4e17f408821c67e90dada8237b (patch) | |
tree | 75d9b2d59497cb9d24edf4dc94f960c57fe69c45 /src/plugins/qmldesigner/qmldesignerplugin.h | |
parent | 33574581017c0c310f4ad010a6e7adea825993b9 (diff) |
Design mode: Give IEditor a 'preferred mode'.
... and switch to it in EditorManager::activateEditor.
There no longer is a need for special currentEditorChanged()
handling in the editor that use a special mode.
QmlDesigner receives an additional setting specifying the
desired edit mode. QmlJSEditor detects whether QmlDesigner
is present by checking the registered mimetypes of the
Design mode and retrieves the settings via keys.
Remove some obsolete code and clean up includes
on qmldesignerconstants.h
Reviewed-by: con
Diffstat (limited to 'src/plugins/qmldesigner/qmldesignerplugin.h')
-rw-r--r-- | src/plugins/qmldesigner/qmldesignerplugin.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/qmldesignerplugin.h b/src/plugins/qmldesigner/qmldesignerplugin.h index e01df161e8..7a170875b3 100644 --- a/src/plugins/qmldesigner/qmldesignerplugin.h +++ b/src/plugins/qmldesigner/qmldesignerplugin.h @@ -81,7 +81,6 @@ public: private slots: void switchTextDesign(); - void modeChanged(Core::IMode *mode); void textEditorsClosed(QList<Core::IEditor *> editors); void updateActions(Core::IEditor* editor); void updateEditor(Core::IEditor *editor); |