QmlJSEditor: Some renaming

Call the timer and its slot for what they do, not how they are
triggered. Remove unneeded function/slot.

Change-Id: I6060f0b59149eb7e5cfdf1d7ea0a993a2104f012
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlOutlineModel: Use document instead of widget

Change-Id: I56c4a1da84d00064334a235aec8f2710efdba365
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlJSEditor: Move outline model to document

Also the updating of the model is now done only once in the document,
and delayed till an editor is visible if necessary.

Change-Id: I69b1abebc2b691b37a618db7d1f5ebbbc8e75bca
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlJSEditor: Remove unused method.

Change-Id: I5441317ab8e8ef285099828c57fb008efd757ed9
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlJSEditor: Make struct internal

Isn't used anywhere outside.

Change-Id: I4094d9334b81fd9e0309b574d0725cdd9cb87bd5
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlJSEditor: Remove functions from widget that delegate to document

Instead access document directly. Needs to export document.

Change-Id: I8fa86832982d2793ea951e88a5b6e3925b7cd281
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlDesigner: Use QmlJSEditorDocument instead of widget

It doesn't need the widget in this case, so the preferred way is to use
the document.

Change-Id: I5ff3943603c6883f27f29702cf48a30992204179
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Make QmlJSEditor and QmlJSEditorWidget internal

Change-Id: I5afe67db927d735727beafe972965855bde39faa
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
QmlJSEditor: Remove unused forward declarations

Change-Id: I23afc3f7324bf91eb8aa6b42fa734705a7f0cbd5
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>