summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-10-19 11:50:24 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-10-19 11:51:53 (GMT)
commitf16fc0150fce1d78cc71c27c163baf45e8953aca (patch)
tree4ee6be62ef2c24cda3387ecb6815fb374b0b49a3 /tools/qdoc3/htmlgenerator.cpp
parent7a647e8c9efbbd46184bc4714159c82ae26be958 (diff)
downloadQt-f16fc0150fce1d78cc71c27c163baf45e8953aca.zip
Qt-f16fc0150fce1d78cc71c27c163baf45e8953aca.tar.gz
Qt-f16fc0150fce1d78cc71c27c163baf45e8953aca.tar.bz2
qdoc3: Added the \qmlattachedproperty command.
It works just like the \qmlproperty command, except that it puts the properties in a different section for attached properties.
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index c02dc2e..18c7916 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1240,7 +1240,7 @@ void HtmlGenerator::generateClassLikeNode(const InnerNode *inner,
generateHeader(title, inner, marker, true);
generateTitle(title, subtitleText, SmallSubTitle, inner, marker);
-#ifdef QDOC_QML
+#ifdef QDOC_QML
if (classe && !classe->qmlElement().isEmpty()) {
generateInstantiatedBy(classe,marker);
}
@@ -3468,12 +3468,12 @@ QString HtmlGenerator::refForNode(const Node *node)
}
break;
case Node::Property:
-#ifdef QDOC_QML
+#ifdef QDOC_QML
case Node::QmlProperty:
#endif
ref = node->name() + "-prop";
break;
-#ifdef QDOC_QML
+#ifdef QDOC_QML
case Node::QmlSignal:
ref = node->name() + "-signal";
break;