| 110 | |
| 111 | |
| 112 | QVariant ProcessListModel::headerData(int column, Qt::Orientation orientation, int role) const |
| 113 | { |
| 114 | if (role != Qt::DisplayRole) |
| 115 | return QVariant(); |
| 116 | |
| 117 | if (orientation == Qt::Vertical) |
| 118 | return QVariant(); |
| 119 | |
| 120 | switch (column) |
| 121 | { |
| 122 | case ProcessListModel::PidColumn: |
| 123 | return "PID"; |
| 124 | case ProcessListModel::ProcessNameColumn: |
| 125 | return "Name"; |
| 126 | } |
| 127 | return QVariant(); |
| 128 | } |
| 129 | |
| 130 | |
| 131 | void ProcessListModel::updateRows(std::vector<DebugProcess> processList) |
nothing calls this directly
no outgoing calls
no test coverage detected