diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-05-11 08:10:23 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-05-11 08:18:05 (GMT) |
commit | 205885831029730ee8faf28dcc7083806cfd5205 (patch) | |
tree | 565912a0f722ac54c52f065bb3791f637e12dc64 /src/declarative/qml/qmlparser_p.h | |
parent | 4b474ca66f17d9c6a97fbfa521fcfeb68aa977e1 (diff) | |
download | Qt-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.h | 8 |
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; |