| 174 | } |
| 175 | |
| 176 | int QmitkDataStorageSimpleTreeModel::rowCount(const QModelIndex &parent) const |
| 177 | { |
| 178 | TreeItem *parentTreeItem = this->TreeItemFromIndex(parent); |
| 179 | if (parentTreeItem) |
| 180 | return parentTreeItem->GetChildCount(); |
| 181 | else |
| 182 | return 0; |
| 183 | } |
| 184 | |
| 185 | int QmitkDataStorageSimpleTreeModel::columnCount(const QModelIndex &/*parent*/) const |
| 186 | { |
nothing calls this directly
no test coverage detected