| 264 | } |
| 265 | |
| 266 | QVariant QmitkDataStorageSimpleTreeModel::headerData(int /*section*/, Qt::Orientation orientation, int role) const |
| 267 | { |
| 268 | if (orientation == Qt::Horizontal && role == Qt::DisplayRole && m_Root) |
| 269 | return QString::fromStdString(m_Root->GetDataNode()->GetName()); |
| 270 | |
| 271 | return QVariant(); |
| 272 | } |
| 273 | |
| 274 | Qt::ItemFlags QmitkDataStorageSimpleTreeModel::flags(const QModelIndex &index) const |
| 275 | { |
nothing calls this directly
no test coverage detected