MCPcopy Create free account
hub / github.com/KDE/kdevelop / ~Node

Method ~Node

kdevplatform/language/classmodel/classmodelnode.cpp:398–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398Node::~Node()
399{
400 // Notify the model about the removal of this nodes' children.
401 if (!m_children.empty() && m_model) {
402 m_model->nodesAboutToBeRemoved(this, 0, m_children.size() - 1);
403 clear();
404 m_model->nodesRemoved(this);
405 }
406}
407
408void Node::clear()
409{

Callers

nothing calls this directly

Calls 5

emptyMethod · 0.80
nodesAboutToBeRemovedMethod · 0.80
nodesRemovedMethod · 0.80
clearFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected