| 497 | } |
| 498 | |
| 499 | QVariant QmitkDataStorageTreeModel::headerData(int /*section*/, Qt::Orientation orientation, int role) const |
| 500 | { |
| 501 | if (orientation == Qt::Horizontal && role == Qt::DisplayRole && m_Root) |
| 502 | return QString::fromStdString(m_Root->GetDataNode()->GetName()); |
| 503 | |
| 504 | return QVariant(); |
| 505 | } |
| 506 | |
| 507 | void QmitkDataStorageTreeModel::SetDataStorage(mitk::DataStorage *_DataStorage) |
| 508 | { |
nothing calls this directly
no test coverage detected