| 27 | } |
| 28 | |
| 29 | void KeyTreeModel::setRootItem(KeyTreeItem * item) { |
| 30 | beginResetModel(); |
| 31 | if(rootItem) |
| 32 | delete rootItem; |
| 33 | rootItem = item; |
| 34 | endResetModel(); |
| 35 | } |
| 36 | |
| 37 | void KeyTreeModel::clear() { |
| 38 | beginResetModel(); |
nothing calls this directly
no outgoing calls
no test coverage detected