summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/tree.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@digia.com>2012-11-27 14:07:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-27 15:54:45 +0100
commit3e33d29a86a99c4dc068e640b23551a7a6e9ab90 (patch)
tree0a02df617f904911643c02d53335645cf23594d5 /src/tools/qdoc/tree.cpp
parent11a38b63bd34b632e335a38f2e671bea0d6a9564 (diff)
qdoc: Listing group members across modules
This is a first attempt at fixing the problem, but it probably is not the entire solution. The problem requires adding attributes to the index files and then reusing them when the index files are read. The same problem will be affecting the module lists themselves, but that is not fixed in this update. Task-number: QTBUG-28036 Change-Id: I8593d5b9446e51a5204b6c71f8c4f2b63f445972 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/tools/qdoc/tree.cpp')
-rw-r--r--src/tools/qdoc/tree.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp
index c94179b813..c622fb929b 100644
--- a/src/tools/qdoc/tree.cpp
+++ b/src/tools/qdoc/tree.cpp
@@ -398,41 +398,6 @@ void Tree::addPropertyFunction(PropertyNode* property,
}
/*!
- This function adds the \a node to the \a group. The group
- can be listed anywhere using the \e{annotated list} command.
- */
-void Tree::addToGroup(Node* node, const QString& group)
-{
- groupMap.insert(group, node);
-}
-
-/*!
- Returns the group map.
- */
-const NodeMultiMap& Tree::groups() const
-{
- return groupMap;
-}
-
-/*!
- This function adds the \a group name to the list of groups
- for the \a node name. It also adds the \a node to the \a group.
- */
-void Tree::addToPublicGroup(Node* node, const QString& group)
-{
- publicGroupMap.insert(node->name(), group);
- addToGroup(node, group);
-}
-
-/*!
- Returns the public group map.
- */
-QMultiMap<QString, QString> Tree::publicGroups() const
-{
- return publicGroupMap;
-}
-
-/*!
*/
void Tree::resolveInheritance(NamespaceNode* rootNode)
{
@@ -548,23 +513,6 @@ void Tree::resolveInheritance(int pass, ClassNode* classe)
}
/*!
- For each node in the group map, add the node to the appropriate
- group node.
- */
-void Tree::resolveGroups()
-{
- NodeMultiMap::const_iterator i;
- for (i = groupMap.constBegin(); i != groupMap.constEnd(); ++i) {
- if (i.value()->access() == Node::Private)
- continue;
-
- DocNode* n = findGroupNode(QStringList(i.key()));
- if (n)
- n->addMember(i.value());
- }
-}
-
-/*!
For each QML class node that points to a C++ class node,
follow its C++ class node pointer and set the C++ class
node's QML class node pointer back to the QML class node.
@@ -787,19 +735,6 @@ NamespaceNode* Tree::findNamespaceNode(const QStringList& path)
}
/*!
- Find the Group node named \a path. Begin the search at the
- \a start node. If the \a start node is 0, begin the search
- at the root of the tree. Only a Group node named \a path is
- acceptible. If one is not found, 0 is returned.
- */
-DocNode* Tree::findGroupNode(const QStringList& path, Node* start)
-{
- if (!start)
- start = const_cast<NamespaceNode*>(root());
- return static_cast<DocNode*>(findNodeRecursive(path, 0, start, Node::Document, Node::Group));
-}
-
-/*!
Find the Qml module node named \a path. Begin the search at the
\a start node. If the \a start node is 0, begin the search
at the root of the tree. Only a Qml module node named \a path is