| 39 | |
| 40 | |
| 41 | bool ProcessItem::operator<(const ProcessItem& other) const |
| 42 | { |
| 43 | if (m_pid < other.pid()) |
| 44 | return true; |
| 45 | else if (m_pid > other.pid()) |
| 46 | return false; |
| 47 | return m_processName < other.processName(); |
| 48 | } |
| 49 | |
| 50 | |
| 51 | ProcessListModel::ProcessListModel(QWidget* parent) : QAbstractTableModel(parent) {} |
nothing calls this directly
no test coverage detected