From f3476d3ae2380bb10781371c9e07ebeaea9c9b86 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 15 May 2012 13:48:29 +0200 Subject: qdoc: Don't include internal QML properties in output QML properties marked internal were still appearing in the the HTML output. Also, the title for QML type pages was not correct in the help project writer. Change-Id: Icaad7cefce77a4af70796bc185c99a3035fb17c8 Reviewed-by: Casper van Donderen --- src/tools/qdoc/codeparser.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/tools/qdoc/codeparser.cpp') diff --git a/src/tools/qdoc/codeparser.cpp b/src/tools/qdoc/codeparser.cpp index 1d0c486763..71a82a7849 100644 --- a/src/tools/qdoc/codeparser.cpp +++ b/src/tools/qdoc/codeparser.cpp @@ -274,6 +274,17 @@ void CodeParser::processCommonMetaCommand(const Location& location, if (!showInternal) { node->setAccess(Node::Private); node->setStatus(Node::Internal); + if (node->subType() == Node::QmlPropertyGroup) { + const QmlPropGroupNode* qpgn = static_cast(node); + NodeList::ConstIterator p = qpgn->childNodes().begin(); + while (p != qpgn->childNodes().end()) { + if ((*p)->type() == Node::QmlProperty) { + (*p)->setAccess(Node::Private); + (*p)->setStatus(Node::Internal); + } + ++p; + } + } } } else if (command == COMMAND_REENTRANT) { -- cgit v1.2.3