summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-25 16:37:44 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-25 16:37:44 (GMT)
commit5edca8bf762e7f3efcff2d95790b7e5ad3e9a89c (patch)
treef519d40fbf7360ef6c9900be603430181e7eedcb /tools
parent74fd34b43e2954881767e33fd62fe5b922643f88 (diff)
downloadQt-5edca8bf762e7f3efcff2d95790b7e5ad3e9a89c.zip
Qt-5edca8bf762e7f3efcff2d95790b7e5ad3e9a89c.tar.gz
Qt-5edca8bf762e7f3efcff2d95790b7e5ad3e9a89c.tar.bz2
Ensured that QML nodes are imported from indexes.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/tree.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp
index 9946f0b..20c1373 100644
--- a/tools/qdoc3/tree.cpp
+++ b/tools/qdoc3/tree.cpp
@@ -806,6 +806,12 @@ void Tree::readIndexSection(const QDomElement &element,
subtype = Node::Page;
else if (element.attribute("subtype") == "externalpage")
subtype = Node::ExternalPage;
+ else if (element.attribute("subtype") == "qmlclass")
+ subtype = Node::QmlClass;
+ else if (element.attribute("subtype") == "qmlpropertygroup")
+ subtype = Node::QmlPropertyGroup;
+ else if (element.attribute("subtype") == "qmlbasictype")
+ subtype = Node::QmlBasicType;
else
return;