summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-07 04:12:37 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-07 04:12:37 (GMT)
commit7032e0d9c08fcea67bb4d96be241b6b5803843ee (patch)
tree33087691681f46d731abae4bf4e4af79bd0f6096 /src/declarative/qml/qmlengine_p.h
parent8abba3d2ec7f6520d87271a5b74ae7b021629784 (diff)
downloadQt-7032e0d9c08fcea67bb4d96be241b6b5803843ee.zip
Qt-7032e0d9c08fcea67bb4d96be241b6b5803843ee.tar.gz
Qt-7032e0d9c08fcea67bb4d96be241b6b5803843ee.tar.bz2
Add "watchers" to debugger
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
-rw-r--r--src/declarative/qml/qmlengine_p.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h
index 7d5176e..63df0ba 100644
--- a/src/declarative/qml/qmlengine_p.h
+++ b/src/declarative/qml/qmlengine_p.h
@@ -114,6 +114,11 @@ public:
QmlCompositeTypeManager typeManager;
QMap<QString,QString> nameSpacePaths;
+
+ mutable quint32 uniqueId;
+ quint32 getUniqueId() const {
+ return uniqueId++;
+ }
};
@@ -201,6 +206,9 @@ public:
QmlExpressionLog &operator=(const QmlExpressionLog &);
+ void setTime(quint32);
+ quint32 time() const;
+
QString expression() const;
void setExpression(const QString &);
@@ -211,6 +219,7 @@ public:
void setResult(const QVariant &);
private:
+ quint32 m_time;
QString m_expression;
QVariant m_result;
QStringList m_warnings;
@@ -233,6 +242,8 @@ public:
QObject *me;
bool trackChange;
+ quint32 id;
+
void addLog(const QmlExpressionLog &);
QList<QmlExpressionLog> *log;
};