diff options
author | Martin Smith <[email protected]> | 2015-01-23 12:40:41 +0100 |
---|---|---|
committer | Martin Smith <[email protected]> | 2015-02-03 11:52:06 +0000 |
commit | 7708c4b85465c08e6ba45a6485288f9459db6bb3 (patch) | |
tree | c02d4aea70d2a3d42f4fa5665c0c4440caf0d42c /src/tools/qdoc/codeparser.cpp | |
parent | c5db8fc74a9d437a4e7c0af077aed7c1f1bd4e26 (diff) |
qdoc: Change uses of module and qmlModule
The uses of moduleName and qmlModuleName are changed to
physicalModuleName and logicalModuleName respectively. A
few other names are also changed in the same way. These
changes are being done both to support documentation of
javascript but also to emphasize that moduleName is
really the name of the physical library module the entity
is part of, and qmlModuleName is really the name of a
collection of logical entities that is versionable and
that may contain entities located in different physical
modules.
Change-Id: If49392aabf5950dc7b97c84f8134e9369e76dd1b
Task-number: QTBUG-43715
Reviewed-by: Martin Smith <[email protected]>
Diffstat (limited to 'src/tools/qdoc/codeparser.cpp')
-rw-r--r-- | src/tools/qdoc/codeparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/codeparser.cpp b/src/tools/qdoc/codeparser.cpp index 5a1a6a528eb..d0fcd86f7a0 100644 --- a/src/tools/qdoc/codeparser.cpp +++ b/src/tools/qdoc/codeparser.cpp @@ -402,8 +402,8 @@ bool CodeParser::isParsingQdoc() const */ void CodeParser::checkModuleInclusion(Node* n) { - if (n->moduleName().isEmpty()) { - n->setModuleName(Generator::defaultModuleName()); + if (n->physicalModuleName().isEmpty()) { + n->setPhysicalModuleName(Generator::defaultModuleName()); switch (n->type()) { case Node::Class: if (n->access() != Node::Private && !n->doc().isEmpty()) { |