summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-05-29 11:20:11 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-05-29 11:20:11 (GMT)
commitfd255177af9d946e271d67000d3867b72cb5c682 (patch)
treefbd0e06f35122d6ded1b06897103179028e920d2 /src/declarative/qml/qmldom.h
parent80518af09b464c88dfd419fa6087cffc1dc914b5 (diff)
downloadQt-fd255177af9d946e271d67000d3867b72cb5c682.zip
Qt-fd255177af9d946e271d67000d3867b72cb5c682.tar.gz
Qt-fd255177af9d946e271d67000d3867b72cb5c682.tar.bz2
Added range information for lists which contains the position and length
from the open bracket upto the close bracket.
Diffstat (limited to 'src/declarative/qml/qmldom.h')
-rw-r--r--src/declarative/qml/qmldom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h
index 04ce8b9..86eaecb 100644
--- a/src/declarative/qml/qmldom.h
+++ b/src/declarative/qml/qmldom.h
@@ -262,6 +262,9 @@ public:
QList<QmlDomValue> values() const;
void setValues(const QList<QmlDomValue> &);
+ int position() const;
+ int length() const;
+
private:
friend class QmlDomValue;
QSharedDataPointer<QmlDomValuePrivate> d;