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

Method addNode

kdevplatform/language/classmodel/classmodelnode.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void Node::addNode(Node* a_child)
415{
416/// @note This is disabled for performance reasons - we add them to the bottom and a
417/// sort usually follows which causes a layout change to be fired.
418// m_model->nodesAboutToBeAdded(this, m_children.size(), 1);
419 a_child->m_parentNode = this;
420 m_children.push_back(a_child);
421// m_model->nodesAdded(this);
422}
423
424void Node::removeNode(Node* a_child)
425{

Callers 4

updateDocumentMethod · 0.80
namespaceFolderMethod · 0.80
ClassModelMethod · 0.80
addProjectNodeMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected