QDoc: Use 'Type' instead of 'element' in instantiates.
On a C++ documentation page "is instantiated by QML element" was printed when you have a QML Type that instantiates this class. The text is now changed to "is instantiated by QML Type". Change-Id: I6c93531edc6ef9ac112573034fd54fa52390bc37 Reviewed-by: Martin Smith <martin.smith@nokia.com>bb10
parent
fd1b7b4cac
commit
cb74f7b22c
|
|
@ -4768,7 +4768,7 @@ void DitaXmlGenerator::generateQmlSince(const Node* node)
|
|||
}
|
||||
|
||||
/*!
|
||||
Output the "[QmlGraphicsXxx is instantiated by QML element Xxx]"
|
||||
Output the "[QmlGraphicsXxx is instantiated by QML Type Xxx]"
|
||||
line for the class, if there should be one.
|
||||
|
||||
If there is no QML element, or if the class node status
|
||||
|
|
@ -4786,7 +4786,7 @@ void DitaXmlGenerator::generateInstantiatedBy(ClassNode* cn, CodeMarker* marker)
|
|||
text << Atom(Atom::FormattingLeft, ATOM_FORMATTING_LINK);
|
||||
text << Atom(Atom::String, cn->name());
|
||||
text << Atom(Atom::FormattingRight, ATOM_FORMATTING_LINK);
|
||||
text << " is instantiated by QML element ";
|
||||
text << " is instantiated by QML Type ";
|
||||
text << Atom(Atom::LinkNode,CodeMarker::stringForNode(qcn));
|
||||
text << Atom(Atom::FormattingLeft, ATOM_FORMATTING_LINK);
|
||||
text << Atom(Atom::String, qcn->name());
|
||||
|
|
|
|||
|
|
@ -4250,7 +4250,7 @@ void HtmlGenerator::generateQmlInstantiates(QmlClassNode* qcn, CodeMarker* marke
|
|||
}
|
||||
|
||||
/*!
|
||||
Output the "[QmlGraphicsXxx is instantiated by QML element Xxx]"
|
||||
Output the "[QmlGraphicsXxx is instantiated by QML Type Xxx]"
|
||||
line for the class, if there should be one.
|
||||
|
||||
If there is no QML element, or if the class node status
|
||||
|
|
@ -4266,7 +4266,7 @@ void HtmlGenerator::generateInstantiatedBy(ClassNode* cn, CodeMarker* marker)
|
|||
text << Atom(Atom::FormattingLeft, ATOM_FORMATTING_LINK);
|
||||
text << Atom(Atom::String, cn->name());
|
||||
text << Atom(Atom::FormattingRight, ATOM_FORMATTING_LINK);
|
||||
text << " is instantiated by QML element ";
|
||||
text << " is instantiated by QML Type ";
|
||||
text << Atom(Atom::LinkNode,CodeMarker::stringForNode(qcn));
|
||||
text << Atom(Atom::FormattingLeft, ATOM_FORMATTING_LINK);
|
||||
text << Atom(Atom::String, qcn->name());
|
||||
|
|
|
|||
Loading…
Reference in New Issue