diff options
author | Topi Reinio <topi.reinio@theqtcompany.com> | 2015-11-25 15:35:42 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@theqtcompany.com> | 2015-11-27 12:44:38 +0000 |
commit | bce6d7fb63f33a627287ee4ce9373fb2747acf7f (patch) | |
tree | 874175da71e2bed98e547486f5357ad7c0915fb4 /src/qdoc/cppcodemarker.cpp | |
parent | 87ad9088beca0cfec5d28b3ebfb8fa66baddc4cc (diff) | |
download | qttools-bce6d7fb63f33a627287ee4ce9373fb2747acf7f.tar.gz |
qdoc: Fix section names for attached members of QML types
The singular/plural names were missing the 'attached' prefix. This
meant that the links from the Table Of Contents to those sections
were also broken.
Change-Id: I814e2e5174bbd5b10a6641e1a3c0df4106bdda7c
Task-number: QTBUG-25578
Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'src/qdoc/cppcodemarker.cpp')
-rw-r--r-- | src/qdoc/cppcodemarker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qdoc/cppcodemarker.cpp b/src/qdoc/cppcodemarker.cpp index 01ff827d5..d4e7546e9 100644 --- a/src/qdoc/cppcodemarker.cpp +++ b/src/qdoc/cppcodemarker.cpp @@ -1112,8 +1112,8 @@ QList<Section> CppCodeMarker::qmlSections(QmlTypeNode* qmlTypeNode, SynopsisStyl FastSection qmlattachedproperties(qmlTypeNode, "Attached Properties", QString(), - "property", - "properties"); + "attached property", + "attached properties"); FastSection qmlsignals(qmlTypeNode, "Signals", QString(), @@ -1127,8 +1127,8 @@ QList<Section> CppCodeMarker::qmlSections(QmlTypeNode* qmlTypeNode, SynopsisStyl FastSection qmlattachedsignals(qmlTypeNode, "Attached Signals", QString(), - "signal", - "signals"); + "attached signal", + "attached signals"); FastSection qmlmethods(qmlTypeNode, "Methods", QString(), @@ -1137,8 +1137,8 @@ QList<Section> CppCodeMarker::qmlSections(QmlTypeNode* qmlTypeNode, SynopsisStyl FastSection qmlattachedmethods(qmlTypeNode, "Attached Methods", QString(), - "method", - "methods"); + "attached method", + "attached methods"); QmlTypeNode* qcn = qmlTypeNode; while (qcn != 0) { |