From 9b0c0823c067eb0c072a6f35caec5cb31809a1b4 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Fri, 30 Mar 2012 13:43:46 +0200 Subject: qdoc: Allow documenting a C++ class as a QML type. Now qdoc can handle the case where a C++ class is documented as a QML type of the same name, or as both a C++ class and a QML type of the same name. And collisions pages are created for both the HTML and the DITA XML output. A collision page is created when two items have the same name. The collision pages will be augmented later to include the list of pages where ambiguous links to one of the items listed on the collision page are actually located, so the writer can go back to those links and add the appropriate qualifier. Change-Id: I5a9632b2d2209e0784392047056bed8962005624 Reviewed-by: Martin Smith Reviewed-by: Casper van Donderen --- src/tools/qdoc/cppcodeparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/qdoc/cppcodeparser.h') diff --git a/src/tools/qdoc/cppcodeparser.h b/src/tools/qdoc/cppcodeparser.h index f33ff6430d9..74abb994d9a 100644 --- a/src/tools/qdoc/cppcodeparser.h +++ b/src/tools/qdoc/cppcodeparser.h @@ -165,7 +165,7 @@ private: void createExampleFileNodes(FakeNode *fake); QMap nodeTypeMap; - Tree *tre; + Tree* tree_; Tokenizer *tokenizer; int tok; Node::Access access; @@ -179,7 +179,7 @@ private: QString mutableSequentialIteratorDefinition; QString associativeIteratorDefinition; QString mutableAssociativeIteratorDefinition; - QSet usedNamespaces; + QSet activeNamespaces_; QMap sequentialIteratorClasses; QMap mutableSequentialIteratorClasses; QMap associativeIteratorClasses; -- cgit v1.2.3