diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-09-24 06:19:56 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-09-24 06:19:56 (GMT) |
commit | f1e06cdd804934ff8c0b350b41d3d7187a21560c (patch) | |
tree | 8cc7053f90d6155f0336e7ac808e21081f48d9c3 /src/declarative/qml/qmlenginedebug.cpp | |
parent | ca244487b4ecc71f14ef6e0d371e848620b15b8d (diff) | |
download | Qt-f1e06cdd804934ff8c0b350b41d3d7187a21560c.zip Qt-f1e06cdd804934ff8c0b350b41d3d7187a21560c.tar.gz Qt-f1e06cdd804934ff8c0b350b41d3d7187a21560c.tar.bz2 |
Indicate which properties are watchable and use bold text instead of
coloured text for watched properties.
Diffstat (limited to 'src/declarative/qml/qmlenginedebug.cpp')
-rw-r--r-- | src/declarative/qml/qmlenginedebug.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlenginedebug.cpp b/src/declarative/qml/qmlenginedebug.cpp index 7896afe..9f0bae6 100644 --- a/src/declarative/qml/qmlenginedebug.cpp +++ b/src/declarative/qml/qmlenginedebug.cpp @@ -80,7 +80,7 @@ QDataStream &operator>>(QDataStream &ds, QDataStream &operator<<(QDataStream &ds, const QmlEngineDebugServer::QmlObjectProperty &data) { - ds << (int)data.type << data.name << data.value << data.binding; + ds << (int)data.type << data.name << data.value << data.binding << data.hasNotifySignal; return ds; } @@ -88,7 +88,7 @@ QDataStream &operator>>(QDataStream &ds, QmlEngineDebugServer::QmlObjectProperty &data) { int type; - ds >> type >> data.name >> data.value >> data.binding; + ds >> type >> data.name >> data.value >> data.binding >> data.hasNotifySignal; data.type = (QmlEngineDebugServer::QmlObjectProperty::Type)type; return ds; } @@ -102,6 +102,7 @@ QmlEngineDebugServer::propertyData(QObject *obj, int propIdx) rv.type = QmlObjectProperty::Unknown; rv.name = prop.name(); + rv.hasNotifySignal = prop.hasNotifySignal(); QmlAbstractBinding *binding = QmlMetaProperty(obj, rv.name).binding(); if (binding) rv.binding = binding->expression(); |