qdoc: Ignore property functions of obsolete properties
Property setter and getter functions are no longer included in the output when the property itself has been marked \obsolete. Task nr: QTBUG-26425 Change-Id: Iac315445d1916467b12be03989bd4513a03a2397 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
parent
f11934af3d
commit
e0b3965831
@ -578,6 +578,12 @@ QList<Section> CppCodeMarker::sections(const InnerNode *inner,
|
||||
isSlot = (func->metaness() == FunctionNode::Slot);
|
||||
isSignal = (func->metaness() == FunctionNode::Signal);
|
||||
isStatic = func->isStatic();
|
||||
if (func->associatedProperty()) {
|
||||
if (func->associatedProperty()->status() == Node::Obsolete) {
|
||||
++c;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((*c)->type() == Node::Variable) {
|
||||
const VariableNode *var = static_cast<const VariableNode *>(*c);
|
||||
|
@ -330,11 +330,11 @@ void CppCodeParser::doneParsingHeaderFiles(Tree *tree)
|
||||
*/
|
||||
void CppCodeParser::doneParsingSourceFiles(Tree *tree)
|
||||
{
|
||||
tree->root()->makeUndocumentedChildrenInternal();
|
||||
tree->root()->clearCurrentChildPointers();
|
||||
tree->root()->normalizeOverloads();
|
||||
tree->fixInheritance();
|
||||
tree->resolveProperties();
|
||||
tree->root()->makeUndocumentedChildrenInternal();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user