| 203 | } |
| 204 | |
| 205 | QVariant DatasetProxyModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 206 | { |
| 207 | if (orientation == Qt::Horizontal) { |
| 208 | if (mapProxyColumnToSource(section) == -1) { |
| 209 | return QVariant(); |
| 210 | } else { |
| 211 | return sourceModel()->headerData(mapProxyColumnToSource(section), orientation, role); |
| 212 | } |
| 213 | } else { |
| 214 | if (mapProxyRowToSource(section) == -1) { |
| 215 | return QVariant(); |
| 216 | } else { |
| 217 | return sourceModel()->headerData(mapProxyRowToSource(section), orientation, role); |
| 218 | } |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | void DatasetProxyModel::initializeDatasetDecriptors( |
| 223 | const DatasetDescriptionVector &inConfiguration, |
nothing calls this directly
no outgoing calls
no test coverage detected