qdoc: Allow documenting a C++ class as a QML type.
authorMartin Smith <martin.smith@nokia.com>
Fri, 30 Mar 2012 11:43:46 +0000 (13:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Apr 2012 10:30:04 +0000 (12:30 +0200)
commit9b0c0823c067eb0c072a6f35caec5cb31809a1b4
tree406184aff17476566f1744e297ce93a493693725
parentf733a0044ef9e31af0577d5b2695c659e29dc2e8
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 <martin.smith@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
15 files changed:
src/tools/qdoc/codemarker.cpp
src/tools/qdoc/cppcodemarker.cpp
src/tools/qdoc/cppcodeparser.cpp
src/tools/qdoc/cppcodeparser.h
src/tools/qdoc/ditaxmlgenerator.cpp
src/tools/qdoc/ditaxmlgenerator.h
src/tools/qdoc/generator.cpp
src/tools/qdoc/generator.h
src/tools/qdoc/helpprojectwriter.cpp
src/tools/qdoc/htmlgenerator.cpp
src/tools/qdoc/htmlgenerator.h
src/tools/qdoc/node.cpp
src/tools/qdoc/node.h
src/tools/qdoc/tree.cpp
src/tools/qdoc/tree.h