MCPcopy Create free account
hub / github.com/KDE/kdevelop / addChild

Function addChild

kdevplatform/shell/problemstorenode.h:101–105  ·  view source on GitHub ↗

Adds a child node, and reparents the child

Source from the content-addressed store, hash-verified

99
100 /// Adds a child node, and reparents the child
101 void addChild(ProblemStoreNode *child)
102 {
103 m_children.push_back(child);
104 child->setParent(this);
105 }
106
107 /// Returns the label of this node, if there's one
108 virtual QString label() const{

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
setParentMethod · 0.45

Tested by

no test coverage detected