summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-19 11:35:50 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-19 11:35:50 (GMT)
commit83d7242271cf8196a8133de0406788135e16abbb (patch)
tree7c1c8e88ff871e8d5df2c4aef5c696e2fe938215 /tools/qdoc3/node.cpp
parent5c247a8afb51ff58c4f0ef7f26c2e22d4700cd39 (diff)
downloadQt-83d7242271cf8196a8133de0406788135e16abbb.zip
Qt-83d7242271cf8196a8133de0406788135e16abbb.tar.gz
Qt-83d7242271cf8196a8133de0406788135e16abbb.tar.bz2
qdoc: Finished "Inherited by" list for QML elements.
The listed elements are now links. Task: QTBUG-8153
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r--tools/qdoc3/node.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 4ddcfb1..5357597 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1257,7 +1257,7 @@ bool TargetNode::isInnerNode() const
#ifdef QDOC_QML
bool QmlClassNode::qmlOnly = false;
-QMultiMap<QString,QString> QmlClassNode::inheritedBy;
+QMultiMap<QString,Node*> QmlClassNode::inheritedBy;
/*!
Constructs a Qml class node (i.e. a Fake node with the
@@ -1294,15 +1294,15 @@ QString QmlClassNode::fileBase() const
Record the fact that QML class \a base is inherited by
QML class \a sub.
*/
-void QmlClassNode::addInheritedBy(const QString& base, const QString& sub)
+void QmlClassNode::addInheritedBy(const QString& base, Node* sub)
{
inheritedBy.insert(base,sub);
}
/*!
- Loads the list \a subs with the names of all the subclasses of \a base.
+ Loads the list \a subs with the nodes of all the subclasses of \a base.
*/
-void QmlClassNode::subclasses(const QString& base, QStringList& subs)
+void QmlClassNode::subclasses(const QString& base, NodeList& subs)
{
subs.clear();
if (inheritedBy.contains(base))