| 412 | } |
| 413 | |
| 414 | void 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 | |
| 424 | void Node::removeNode(Node* a_child) |
| 425 | { |
no test coverage detected