diff options
author | Martin Smith <martin.smith@nokia.com> | 2012-09-13 11:38:45 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-14 15:23:15 +0200 |
commit | 14f7eb86ca2275d91f284279af5f77205d4ae3c0 (patch) | |
tree | ed4e91d6422dd814ac3e81739ad4a3b55bf050c7 /src/tools/qdoc/codemarker.cpp | |
parent | 817a4474676b30a964de476d26bd70ddba3d379a (diff) |
qdoc: Refactoring of qdoc data structures
This commit is the beginning of a significant
overhaul of qdoc. A new class, QDocDatabase, is
added, which will eventually encapsulate all the
data structures used by qdoc. In this commit, the
Tree class is made private and only accessible
from QDocDatabase. Several maps structures are
also moved into QDocDatabase from other classes.
Much dead code and unused parameters were removed.
Further simplification will follow.
Change-Id: I237411c50f3ced0d2fc8d3b0fbfdf4e55880f8e9
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'src/tools/qdoc/codemarker.cpp')
-rw-r--r-- | src/tools/qdoc/codemarker.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/tools/qdoc/codemarker.cpp b/src/tools/qdoc/codemarker.cpp index d40db411b1..4a9305de9e 100644 --- a/src/tools/qdoc/codemarker.cpp +++ b/src/tools/qdoc/codemarker.cpp @@ -625,26 +625,16 @@ QString CodeMarker::macName(const Node *node, const QString &name) return QLatin1Char('/') + protect(myName); } else { - return plainFullName(node) + QLatin1Char('/') + protect(myName); + return node->plainFullName() + QLatin1Char('/') + protect(myName); } } /*! - Get the list of documentation sections for the children of - the specified QmlClassNode. + Returns an empty list of documentation sections. */ -QList<Section> CodeMarker::qmlSections(const QmlClassNode* , - SynopsisStyle ) +QList<Section> CodeMarker::qmlSections(const QmlClassNode* , SynopsisStyle ) { return QList<Section>(); } -const Node* CodeMarker::resolveTarget(const QString& /* target */, - const Tree* , - const Node* , - const Node* ) -{ - return 0; -} - QT_END_NAMESPACE |