diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-03-12 14:08:56 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-19 10:49:45 +0100 |
commit | cad5df2572d023d1d8ab213d7e736f8d15576916 (patch) | |
tree | a6622cb4597020a1da4be95de1dc47bc97529811 /src/qml/debugger/qqmlenginedebugservice_p.h | |
parent | af3a8708b46e8ae6e177dcee028364bd9fd285cd (diff) |
QmlDebugging: Object Tree and States List
All created instances are stored under the root context.
Check for the creation context of the object when building
up the tree. Do the same when building up the states list.
Change-Id: I8716d9966a61b8f7cb3ad4b7ab5acd4c94b4cd03
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/qml/debugger/qqmlenginedebugservice_p.h')
-rw-r--r-- | src/qml/debugger/qqmlenginedebugservice_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/debugger/qqmlenginedebugservice_p.h b/src/qml/debugger/qqmlenginedebugservice_p.h index 1a92801fcc..f41063d7a3 100644 --- a/src/qml/debugger/qqmlenginedebugservice_p.h +++ b/src/qml/debugger/qqmlenginedebugservice_p.h @@ -57,6 +57,7 @@ #include <QtCore/qurl.h> #include <QtCore/qvariant.h> +#include <QtCore/QPointer> QT_BEGIN_NAMESPACE @@ -111,9 +112,10 @@ private Q_SLOTS: private: void prepareDeferredObjects(QObject *); - void buildObjectList(QDataStream &, QQmlContext *); + void buildObjectList(QDataStream &, QQmlContext *, + const QList<QPointer<QObject> > &instances); void buildObjectDump(QDataStream &, QObject *, bool, bool); - void buildStatesList(QQmlContext *, bool); + void buildStatesList(bool cleanList, const QList<QPointer<QObject> > &instances); QQmlObjectData objectData(QObject *); QQmlObjectProperty propertyData(QObject *, int); QVariant valueContents(const QVariant &defaultValue) const; |