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

Method removeNode

kdevplatform/language/classmodel/classmodelnode.cpp:424–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void Node::removeNode(Node* a_child)
425{
426 int row = a_child->row();
427 m_model->nodesAboutToBeRemoved(this, row, row);
428 m_children.removeAt(row);
429 delete a_child;
430 m_model->nodesRemoved(this);
431}
432
433// Sort algorithm for the nodes.
434struct SortNodesFunctor

Callers 2

removeSelfMethod · 0.80
removeProjectNodeMethod · 0.80

Calls 3

nodesAboutToBeRemovedMethod · 0.80
nodesRemovedMethod · 0.80
rowMethod · 0.45

Tested by

no test coverage detected