| 95 | } |
| 96 | |
| 97 | void TreeItem::removeSelf() |
| 98 | { |
| 99 | QModelIndex modelIndex = model_->indexForItem(this, 0); |
| 100 | parentItem->removeChild(modelIndex.row()); |
| 101 | } |
| 102 | |
| 103 | void TreeItem::deleteChildren() |
| 104 | { |
nothing calls this directly
no test coverage detected