| 112 | } |
| 113 | |
| 114 | QVariant QmitkFlatLabelInstanceProxyModel::data(const QModelIndex& index, int role) const |
| 115 | { |
| 116 | if (!index.isValid() || !sourceModel()) |
| 117 | return QVariant(); |
| 118 | QModelIndex src = this->mapToSource(index); |
| 119 | return sourceModel()->data(src, role); |
| 120 | } |
| 121 | |
| 122 | void QmitkFlatLabelInstanceProxyModel::OnSourceModelReset() |
| 123 | { |
no test coverage detected