diff options
author | Martin Smith <msmith@trolltech.com> | 2010-02-03 13:45:20 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-02-03 13:45:20 (GMT) |
commit | 63f66fb0008f93638de782b03f53e9777a941ab7 (patch) | |
tree | 1e52796ba03461346a8ec38785fe881f41fd7953 /tools/qdoc3/htmlgenerator.cpp | |
parent | d50c672b037005dfd838bf7658ab7f2888697e85 (diff) | |
download | Qt-63f66fb0008f93638de782b03f53e9777a941ab7.zip Qt-63f66fb0008f93638de782b03f53e9777a941ab7.tar.gz Qt-63f66fb0008f93638de782b03f53e9777a941ab7.tar.bz2 |
qdoc3: Added support for the \qmlbasictype command.
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index a3cdae6..15386f1 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -1428,14 +1428,19 @@ void HtmlGenerator::generateFakeNode(const FakeNode *fake, CodeMarker *marker) QList<Section> sections; QList<Section>::const_iterator s; - QString htmlTitle = fake->fullTitle(); + QString fullTitle = fake->fullTitle(); + QString htmlTitle = fullTitle; if (fake->subType() == Node::File && !fake->subTitle().isEmpty()) { subTitleSize = SmallSubTitle; htmlTitle += " (" + fake->subTitle() + ")"; } + else if (fake->subType() == Node::QmlBasicType) { + fullTitle = "QML Basic Type: " + fullTitle; + htmlTitle = fullTitle; + } generateHeader(htmlTitle, fake, marker, true); - generateTitle(fake->fullTitle(), + generateTitle(fullTitle, Text() << fake->subTitle(), subTitleSize, fake, |