diff options
| author | Martin Smith <martin.smith@digia.com> | 2015-01-21 10:18:50 +0100 |
|---|---|---|
| committer | Martin Smith <martin.smith@digia.com> | 2015-01-22 07:45:49 +0100 |
| commit | fdbf3bec3009343362448141faa42734ec31b1c3 (patch) | |
| tree | 5b1e41287a98e92540675e3db151e711ae404445 /src/tools/qdoc/cppcodemarker.cpp | |
| parent | be6c50a2511fc95b165b702cae1f54a9e06fa67c (diff) | |
qdoc: Change name of node type
QmlClassNode is renamed to QmlTypeNode. This is done
in preparation for implementing qdoc support for
documenting javascript code. Next, QmlTypeNode will
be renamed to JsTypeNode, and a new QmlTypeNode will
be declared that will inherit JsTypeNode.
Change-Id: Ia5d0c367d06c26cb43f887927bbcb096afcb7301
Task-number: QTBUG-43715
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/tools/qdoc/cppcodemarker.cpp')
| -rw-r--r-- | src/tools/qdoc/cppcodemarker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qdoc/cppcodemarker.cpp b/src/tools/qdoc/cppcodemarker.cpp index 3851ede16c5..c3c486e0090 100644 --- a/src/tools/qdoc/cppcodemarker.cpp +++ b/src/tools/qdoc/cppcodemarker.cpp @@ -1085,7 +1085,7 @@ QString CppCodeMarker::addMarkUp(const QString &in, the list of documentation sections for the children of the \a qmlClassNode. */ -QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisStyle style, Status status) +QList<Section> CppCodeMarker::qmlSections(QmlTypeNode* qmlClassNode, SynopsisStyle style, Status status) { QList<Section> sections; if (qmlClassNode) { @@ -1126,7 +1126,7 @@ QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisSt "method", "methods"); - QmlClassNode* qcn = qmlClassNode; + QmlTypeNode* qcn = qmlClassNode; while (qcn != 0) { NodeList::ConstIterator c = qcn->childNodes().constBegin(); while (c != qcn->childNodes().constEnd()) { @@ -1165,7 +1165,7 @@ QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisSt ++c; } if (qcn->qmlBaseNode() != 0) { - qcn = static_cast<QmlClassNode*>(qcn->qmlBaseNode()); + qcn = static_cast<QmlTypeNode*>(qcn->qmlBaseNode()); if (!qcn->isAbstract()) qcn = 0; } @@ -1191,7 +1191,7 @@ QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisSt FastSection qmlmethods(qmlClassNode,"Method Documentation","qmlmeth","member","members"); FastSection qmlattachedmethods(qmlClassNode,"Attached Method Documentation","qmlattmeth", "member","members"); - QmlClassNode* qcn = qmlClassNode; + QmlTypeNode* qcn = qmlClassNode; while (qcn != 0) { NodeList::ConstIterator c = qcn->childNodes().constBegin(); while (c != qcn->childNodes().constEnd()) { @@ -1229,7 +1229,7 @@ QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisSt ++c; } if (qcn->qmlBaseNode() != 0) { - qcn = static_cast<QmlClassNode*>(qcn->qmlBaseNode()); + qcn = static_cast<QmlTypeNode*>(qcn->qmlBaseNode()); if (!qcn->isAbstract()) qcn = 0; } @@ -1251,7 +1251,7 @@ QList<Section> CppCodeMarker::qmlSections(QmlClassNode* qmlClassNode, SynopsisSt */ ClassMap* classMap = 0; FastSection all(qmlClassNode,QString(),QString(),"member","members"); - QmlClassNode* current = qmlClassNode; + QmlTypeNode* current = qmlClassNode; while (current != 0) { /* If the QML type is abstract, do not create |
