summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldeclarativedata_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-02 03:34:07 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-02 03:34:07 (GMT)
commit9e7bd55bde0d614719c67977507b270dc7326f05 (patch)
treede830538b63bd59866ba69c7ce3ce1c7412c8c91 /src/declarative/qml/qmldeclarativedata_p.h
parent74774eb9e7f5b232fdafd067f19b765ede87146f (diff)
downloadQt-9e7bd55bde0d614719c67977507b270dc7326f05.zip
Qt-9e7bd55bde0d614719c67977507b270dc7326f05.tar.gz
Qt-9e7bd55bde0d614719c67977507b270dc7326f05.tar.bz2
Save object creation line and column number
This info is used by the debugger interface, and by the qmlInfo() stream.
Diffstat (limited to 'src/declarative/qml/qmldeclarativedata_p.h')
-rw-r--r--src/declarative/qml/qmldeclarativedata_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldeclarativedata_p.h b/src/declarative/qml/qmldeclarativedata_p.h
index 5a51eb7..a316c0c 100644
--- a/src/declarative/qml/qmldeclarativedata_p.h
+++ b/src/declarative/qml/qmldeclarativedata_p.h
@@ -59,6 +59,7 @@ QT_BEGIN_NAMESPACE
class QmlCompiledData;
class QmlAbstractBinding;
+class QmlContext;
class QmlDeclarativeData : public QDeclarativeData
{
public:
@@ -69,6 +70,10 @@ public:
QmlContext *context;
QmlAbstractBinding *bindings;
+ QmlContext *outerContext; // Can't this be found from context?
+ ushort lineNumber;
+ ushort columnNumber;
+
QmlCompiledData *deferredComponent; // Can't this be found from the context?
unsigned int deferredIdx;