| 186 | |
| 187 | |
| 188 | QVariant DebugStackListModel::headerData(int column, Qt::Orientation orientation, int role) const |
| 189 | { |
| 190 | if (role != Qt::DisplayRole) |
| 191 | return QVariant(); |
| 192 | |
| 193 | if (orientation == Qt::Vertical) |
| 194 | return QVariant(); |
| 195 | |
| 196 | switch (column) |
| 197 | { |
| 198 | case DebugStackListModel::OffsetColumn: |
| 199 | return "Offset"; |
| 200 | case DebugStackListModel::AddressColumn: |
| 201 | return "Address"; |
| 202 | case DebugStackListModel::ValueColumn: |
| 203 | return "Value"; |
| 204 | case DebugStackListModel::HintColumn: |
| 205 | return "Hint"; |
| 206 | } |
| 207 | return QVariant(); |
| 208 | } |
| 209 | |
| 210 | |
| 211 | void DebugStackListModel::updateRows(std::vector<DebugStackItem> newRows) |
nothing calls this directly
no outgoing calls
no test coverage detected