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

Method row

static_libs/filetree/ft_node.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74int Node::row() const
75{
76 if (m_parent)
77 return m_parent->childs.indexOf(this);
78 // for (int i = 0, size = m_parent->childs.size(); i < size; ++i)
79 // if (m_parent->childs[i].get() == this)
80 // return i;
81 return -1;
82}
83
84void Node::addChild(Node* item)
85{

Callers 6

menuMethod · 0.45
hideOtherMethod · 0.45
closeFileMethod · 0.45
contextMenuEventMethod · 0.45
mouseDoubleClickEventMethod · 0.45
parentMethod · 0.45

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected