MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / addChild

Method addChild

static_libs/filetree/ft_node.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void Node::addChild(Node* item)
85{
86 item->m_parent = this;
87 childs.resize(childs.size() + 1);
88 childs.back().reset(item);
89}
90
91void Node::remove(int row) { childs.takeAt(row); }
92

Callers 4

updateFileModelMethod · 0.45
TreeWidgetMethod · 0.45
addFileMethod · 0.45
addShapeMethod · 0.45

Calls 2

sizeMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected