| 138 | |
| 139 | |
| 140 | QVariant DebugBreakpointsListModel::headerData(int column, Qt::Orientation orientation, int role) const |
| 141 | { |
| 142 | if (role != Qt::DisplayRole) |
| 143 | return QVariant(); |
| 144 | |
| 145 | if (orientation == Qt::Vertical) |
| 146 | return QVariant(); |
| 147 | |
| 148 | switch (column) |
| 149 | { |
| 150 | // case DebugBreakpointsListModel::EnabledColumn: |
| 151 | // return "Enabled"; |
| 152 | case DebugBreakpointsListModel::LocationColumn: |
| 153 | return "Location"; |
| 154 | case DebugBreakpointsListModel::AddressColumn: |
| 155 | return "Remote Address"; |
| 156 | } |
| 157 | return QVariant(); |
| 158 | } |
| 159 | |
| 160 | |
| 161 | void DebugBreakpointsListModel::updateRows(std::vector<BreakpointItem> newRows) |
nothing calls this directly
no outgoing calls
no test coverage detected