diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-10-28 05:50:11 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-10-28 05:50:11 (GMT) |
commit | 25f87fede4b5fd367242be80f314310e7be6e0a5 (patch) | |
tree | cd4f0411959eba5cb93f8fe425cbf2f2931c6790 /src/declarative/qml/qmlenginedebug_p.h | |
parent | 37314eb9ff900780b8bb952c8fa87f278a634f3a (diff) | |
download | Qt-25f87fede4b5fd367242be80f314310e7be6e0a5.zip Qt-25f87fede4b5fd367242be80f314310e7be6e0a5.tar.gz Qt-25f87fede4b5fd367242be80f314310e7be6e0a5.tar.bz2 |
Show contents of list properties within the debugger (like the Creator
debugger). Also add Mode arg to ExpressionQueryWidget constructor.
Diffstat (limited to 'src/declarative/qml/qmlenginedebug_p.h')
-rw-r--r-- | src/declarative/qml/qmlenginedebug_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlenginedebug_p.h b/src/declarative/qml/qmlenginedebug_p.h index 075a711..a8572eb 100644 --- a/src/declarative/qml/qmlenginedebug_p.h +++ b/src/declarative/qml/qmlenginedebug_p.h @@ -97,14 +97,14 @@ protected: virtual void messageReceived(const QByteArray &); private Q_SLOTS: - void propertyChanged(int id, int objectId, const QByteArray &property, const QVariant &value); + void propertyChanged(int id, int objectId, const QMetaProperty &property, const QVariant &value); private: void buildObjectList(QDataStream &, QmlContext *); void buildObjectDump(QDataStream &, QObject *, bool); QmlObjectData objectData(QObject *); QmlObjectProperty propertyData(QObject *, int); - QVariant serializableVariant(const QVariant &value); + QVariant valueContents(const QVariant &defaultValue) const; static QList<QmlEngine *> m_engines; QmlWatcher *m_watch; |