| 111 | } |
| 112 | |
| 113 | QVariant QmitkMAPAlgorithmModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 114 | { |
| 115 | if ((Qt::DisplayRole == role) && (Qt::Horizontal == orientation)) |
| 116 | { |
| 117 | if (section == 0) |
| 118 | { |
| 119 | return QVariant("Property"); |
| 120 | } |
| 121 | else if (section == 1) |
| 122 | { |
| 123 | return QVariant("Value"); |
| 124 | } |
| 125 | } |
| 126 | return QVariant(); |
| 127 | } |
| 128 | |
| 129 | bool QmitkMAPAlgorithmModel::setData(const QModelIndex &index, const QVariant &value, int role) |
| 130 | { |
no outgoing calls
no test coverage detected