12using namespace Qt::StringLiterals;
17 m_collective.reserve(count);
21
22
23
26 return parent()->logicalModuleName();
30
31
32
33
34
35
39 const auto &overloadArgs =
doc().overloadList();
40 bool isPrimaryOverload = !overloadArgs.isEmpty()
41 && overloadArgs.first().first ==
"__qdoc_primary_overload__"_L1;
43 size_t functionIndex = 0;
44 for (
auto *node : m_collective) {
45 if (node->isFunction()) {
46 auto *fn =
static_cast<FunctionNode *>(node);
49 if (isPrimaryOverload && functionIndex == 0)
50 fn->setPrimaryOverloadFlag();
52 fn->setOverloadFlag();
59
60
61
62
63
74
75
76
80 for (
auto *node : m_collective)
81 node->setRelatedNonmember(value);
void addChild(Node *child)
Adds the child to this node's child list and sets the child's parent pointer to this Aggregate.
Combined button and popup list for selecting options.
The Node class is the base class for all the nodes in QDoc's parse tree.
const Doc & doc() const
Returns a reference to the node's Doc data member.
Aggregate * parent() const
Returns the node's parent pointer, that is, the aggregate under which the node is documented.
virtual void setRelatedNonmember(bool b)
Sets a flag in the node indicating whether this node is a related nonmember of something.
void setParent(Aggregate *n)
Sets the node's parent pointer to n.