summaryrefslogtreecommitdiff
path: root/tools/qdoc3/pagegenerator.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-02-03 16:13:06 +0100
committerDavid Boddie <dboddie@trolltech.com>2010-02-03 16:13:06 +0100
commitacbbafc95096701ae0eb6917a5922a371cb37c69 (patch)
tree854d1963cd20f94d92c5e1d2dbc97a7d38cc3f97 /tools/qdoc3/pagegenerator.cpp
parent7a4d0130441bae27a302e694828ec71ade9e6005 (diff)
parent14054a47230d41063a10ce8fbf7dc65c916163d7 (diff)
downloadqt4-tools-acbbafc95096701ae0eb6917a5922a371cb37c69.tar.gz
Merge branch 'master' into qdoc-i18n
Diffstat (limited to 'tools/qdoc3/pagegenerator.cpp')
-rw-r--r--tools/qdoc3/pagegenerator.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/qdoc3/pagegenerator.cpp b/tools/qdoc3/pagegenerator.cpp
index e6371097b7..bc73eb0044 100644
--- a/tools/qdoc3/pagegenerator.cpp
+++ b/tools/qdoc3/pagegenerator.cpp
@@ -104,7 +104,8 @@ QString PageGenerator::fileBase(const Node *node)
we prepend "qml-" to the file name of QML element doc
files.
*/
- if (p->subType() == Node::QmlClass) {
+ if ((p->subType() == Node::QmlClass) ||
+ (p->subType() == Node::QmlBasicType)) {
base.prepend("qml-");
}
#endif
@@ -209,6 +210,10 @@ void PageGenerator::generateInnerNode(const InnerNode *node,
if (fakeNode->subType() == Node::QmlPropertyGroup)
return;
#endif
+ if (fakeNode->subType() == Node::Page) {
+ if (node->count() > 0)
+ qDebug() << "PAGE" << fakeNode->title() << "HAS CHILDREN";
+ }
}
if (node->parent() != 0) {