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/qqmldebugstatesdelegate_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/qqmldebugstatesdelegate_p.h')
-rw-r--r-- | src/qml/debugger/qqmldebugstatesdelegate_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmldebugstatesdelegate_p.h b/src/qml/debugger/qqmldebugstatesdelegate_p.h index 6e3cc978f2..6d4ac10dbf 100644 --- a/src/qml/debugger/qqmldebugstatesdelegate_p.h +++ b/src/qml/debugger/qqmldebugstatesdelegate_p.h @@ -54,6 +54,8 @@ // #include <QtQml/qtqmlglobal.h> +#include <QtCore/QList> +#include <QtCore/QPointer> QT_BEGIN_HEADER @@ -74,7 +76,8 @@ protected: public: virtual ~QQmlDebugStatesDelegate() {} - virtual void buildStatesList(QQmlContext *ctxt, bool cleanList) = 0; + virtual void buildStatesList(bool cleanList, + const QList<QPointer<QObject> > &instances) = 0; virtual void updateBinding(QQmlContext *context, const QQmlProperty &property, const QVariant &expression, bool isLiteralValue, |