summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparser_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-05-11 08:10:23 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-05-11 08:18:05 (GMT)
commit205885831029730ee8faf28dcc7083806cfd5205 (patch)
tree565912a0f722ac54c52f065bb3791f637e12dc64 /src/declarative/qml/qmlparser_p.h
parent4b474ca66f17d9c6a97fbfa521fcfeb68aa977e1 (diff)
downloadQt-205885831029730ee8faf28dcc7083806cfd5205.zip
Qt-205885831029730ee8faf28dcc7083806cfd5205.tar.gz
Qt-205885831029730ee8faf28dcc7083806cfd5205.tar.bz2
Added positioning information to the dom as position+length.
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/declarative/qml/qmlparser_p.h')
-rw-r--r--src/declarative/qml/qmlparser_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlparser_p.h b/src/declarative/qml/qmlparser_p.h
index 31f8702..f0eb864 100644
--- a/src/declarative/qml/qmlparser_p.h
+++ b/src/declarative/qml/qmlparser_p.h
@@ -74,10 +74,18 @@ namespace QmlParser
int column;
};
+ struct LocationRange
+ {
+ LocationRange() : offset(0), length(0) {}
+ quint32 offset;
+ quint32 length;
+ };
+
struct LocationSpan
{
Location start;
Location end;
+ LocationRange range;
};
class Property;