QmlJSInspector: Query Root Objects

As parentIds are now known, query only root objects initially and
build the object tree lazily.

Change-Id: Ic6895ad8a0dd8dc2a2b1d8aa71fdf6766974eea5
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-04-10 10:36:00 +02:00
parent a7c1f55eba
commit c74458765d
3 changed files with 10 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ public:
quint32 fetchContextObject(const QmlDebugObjectReference& obj);
void addObjectToTree(const QmlDebugObjectReference &obj);
void fetchContextObjectRecursive(const QmlDebugContextReference &context, bool clear);
void fetchRootObjects(const QmlDebugContextReference &context, bool clear);
void insertObjectInTreeIfNeeded(const QmlDebugObjectReference &object);
QDeclarativeDebugClient *qmlDebugger() const;