diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-06-22 11:29:32 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-06-22 11:29:32 (GMT) |
commit | 255a1144166a1fa03c65fe3970dc77a5d081402c (patch) | |
tree | 046ea51a1a62d4bca21bff018e5a7291703429db /tools/qdoc3/node.cpp | |
parent | caa6665a17ea7670ebd86a1775705718e01edbd7 (diff) | |
download | Qt-255a1144166a1fa03c65fe3970dc77a5d081402c.zip Qt-255a1144166a1fa03c65fe3970dc77a5d081402c.tar.gz Qt-255a1144166a1fa03c65fe3970dc77a5d081402c.tar.bz2 |
doc: Added more DITA output to the XML generator
Some of the cxxVariable stuff for properties.
Task-number: QTBUG-11391
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r-- | tools/qdoc3/node.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp index 2586733..26957ac 100644 --- a/tools/qdoc3/node.cpp +++ b/tools/qdoc3/node.cpp @@ -263,10 +263,14 @@ QUuid Node::guid() const QString Node::ditaXmlHref() { QString href; - if (type() == Function) + if ((type() == Function) || + (type() == Property) || + (type() == Variable)) { href = parent()->fileBase(); - else + } + else { href = fileBase(); + } if (!href.endsWith(".xml")) href += ".xml"; return href + "#" + guid(); |