| 123 | } |
| 124 | |
| 125 | KeyTreeItem *KeyTreeModel::itemFromIndex(const QModelIndex &index) const { |
| 126 | return index.isValid() ? getItem(index): nullptr; |
| 127 | } |
| 128 | |
| 129 | QModelIndex KeyTreeModel::indexFromItem(const KeyTreeItem *item) const { |
| 130 | if(!item || item == rootItem) |
no outgoing calls
no test coverage detected