| 115 | } |
| 116 | |
| 117 | Qt::ItemFlags KeyTreeModel::flags(const QModelIndex &index) const |
| 118 | { |
| 119 | if (!index.isValid()) |
| 120 | return 0; |
| 121 | |
| 122 | return QAbstractItemModel::flags(index); |
| 123 | } |
| 124 | |
| 125 | KeyTreeItem *KeyTreeModel::itemFromIndex(const QModelIndex &index) const { |
| 126 | return index.isValid() ? getItem(index): nullptr; |
no outgoing calls
no test coverage detected