summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmldom.h')
-rw-r--r--src/declarative/qml/qmldom.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h
index 8b503fa..04ce8b9 100644
--- a/src/declarative/qml/qmldom.h
+++ b/src/declarative/qml/qmldom.h
@@ -99,6 +99,9 @@ public:
QmlDomValue value() const;
void setValue(const QmlDomValue &);
+ int position() const;
+ int length() const;
+
private:
friend class QmlDomObject;
QSharedDataPointer<QmlDomPropertyPrivate> d;
@@ -134,6 +137,9 @@ public:
bool isComponent() const;
QmlDomComponent toComponent() const;
+ int position() const;
+ int length() const;
+
private:
friend class QmlDomDocument;
friend class QmlDomComponent;
@@ -236,6 +242,9 @@ public:
QmlDomObject toObject() const;
QmlDomList toList() const;
+ int position() const;
+ int length() const;
+
private:
friend class QmlDomProperty;
friend class QmlDomList;