QmlJSInspectorAgent: Refactor code

Try to use the watchHandler for referring to the object tree
instead of caching the object tree locally.

Change-Id: I68624771ef49d50f2cf0d6d580b1b34d57483178
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Aurindam Jana
2012-05-14 23:26:23 +02:00
parent 6ef2c09247
commit 023deff474
7 changed files with 274 additions and 423 deletions

View File

@@ -107,7 +107,7 @@ private:
void showConnectionStatusMessage(const QString &message);
void gotoObjectReferenceDefinition(const QmlDebug::ObjectReference &obj);
QmlDebug::ObjectReference objectReferenceForLocation(
int objectIdForLocation(
const QString &fileName, int cursorPosition = -1) const;
enum SelectionTarget { NoTarget, ToolTarget, EditorTarget };