| 422 | } |
| 423 | |
| 424 | void 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. |
| 434 | struct SortNodesFunctor |
no test coverage detected