summaryrefslogtreecommitdiff
path: root/src/qdoc/qmlcodeparser.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2019-01-14 14:42:23 +0100
committerMartin Smith <martin.smith@qt.io>2019-02-08 08:46:37 +0000
commit438e477d35c4e62251664878bdbf9f8efc85cd0d (patch)
treebebb6979e234c6f22b7ba59d4e55e5d6f5c63bee /src/qdoc/qmlcodeparser.cpp
parent1e8fc9db36a002a5ff5bdf9f9271de13478ef4a2 (diff)
downloadqttools-438e477d35c4e62251664878bdbf9f8efc85cd0d.tar.gz
qdoc: Correct ref pages for inner classes
This update corrects the documentation pages for classes, structs, and unions that are declared inside a class or a struct. In Qt, a struct is often declared inside a class. For such internal declarations, the requirements for making the inner entity available were incorrectly shown. All that is really necessary is to include the parent class. So the requirements for including the inner entity are now replaced with, for example, "Struct State is declared in class QAccessible," where QAccessible becomes a link to the reference page for that class. It was easier to implement this change by teaching qdoc to recognize structs and unions in addition to classes, so that is also included in this change. Change-Id: I1a0d46ef19a130506c7bcbf77b46e298f6ab2f71 Task-number: QTBUG-66872 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qdoc/qmlcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions