summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-26 08:44:33 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-26 08:44:33 (GMT)
commit540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf (patch)
tree8ee7e6d700de3d911e8d0ccf4e2b2cd0a417fcde /tools/qdoc3/node.cpp
parent84fd26983a40ecae3e761106aa8f550c3b7fd7ba (diff)
parent7944ac1fb6eb0ae3bbbfdf6780b52f7174174a93 (diff)
downloadQt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.zip
Qt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.tar.gz
Qt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1
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 83014d3..358fdd1 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,Node*> QmlClassNode::inheritedBy;
+QMultiMap<QString,QString> QmlClassNode::inheritedBy;
/*!
Constructs a Qml class node (i.e. a Fake node with the
@@ -1302,15 +1302,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, Node* sub)
+void QmlClassNode::addInheritedBy(const QString& base, const QString& sub)
{
inheritedBy.insert(base,sub);
}
/*!
- Loads the list \a subs with the nodes of all the subclasses of \a base.
+ Loads the list \a subs with the names of all the subclasses of \a base.
*/
-void QmlClassNode::subclasses(const QString& base, NodeList& subs)
+void QmlClassNode::subclasses(const QString& base, QStringList& subs)
{
subs.clear();
if (inheritedBy.contains(base))