| 118 | } |
| 119 | |
| 120 | QVariant |
| 121 | MultitaskControllerModel::headerData(int s, Qt::Orientation hor, int role) const |
| 122 | { |
| 123 | if (hor == Qt::Horizontal && role == Qt::DisplayRole) { |
| 124 | const char *headers[] = { |
| 125 | "Description", |
| 126 | "Creation time", |
| 127 | "Status", |
| 128 | "Rate", |
| 129 | "Progress", |
| 130 | "Actions"}; |
| 131 | |
| 132 | if (s >= 0 && s < 6) |
| 133 | return headers[s]; |
| 134 | } |
| 135 | |
| 136 | return QVariant(); |
| 137 | } |
| 138 | |
| 139 | ///////////////////////////////// Slots /////////////////////////////////////// |
| 140 | void |
nothing calls this directly
no outgoing calls
no test coverage detected