summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-04 03:13:24 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-04 03:57:55 (GMT)
commitb41f6618f01a7e9a7d6b5772a5bdfb8841aa2c8b (patch)
tree45085c6b753ea3a99aa9e35f068a9800455fec65 /tools/qdoc3/node.cpp
parent8caacf51667d4cf770b18a8b59e46f842861210e (diff)
downloadQt-b41f6618f01a7e9a7d6b5772a5bdfb8841aa2c8b.zip
Qt-b41f6618f01a7e9a7d6b5772a5bdfb8841aa2c8b.tar.gz
Qt-b41f6618f01a7e9a7d6b5772a5bdfb8841aa2c8b.tar.bz2
qdoc updates for QML
Reviewed-by:Michael Brasser
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r--tools/qdoc3/node.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 61855bc..ecb4a44 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1127,6 +1127,8 @@ bool TargetNode::isInnerNode() const
}
#ifdef QDOC_QML
+bool QmlClassNode::qmlOnly = false;
+
/*!
Constructor for the Qml class node.
*/
@@ -1135,7 +1137,7 @@ QmlClassNode::QmlClassNode(InnerNode *parent,
const ClassNode* cn)
: FakeNode(parent, name, QmlClass), cnode(cn)
{
- setTitle("QML " + name + " Element Reference");
+ setTitle((qmlOnly ? "" : "QML ") + name + " Element Reference");
}
/*!