| 55 | |
| 56 | |
| 57 | ProcessItem ProcessListModel::getRow(int row) const |
| 58 | { |
| 59 | if ((size_t)row >= m_items.size()) |
| 60 | throw std::runtime_error("row index out-of-bound"); |
| 61 | |
| 62 | return m_items[row]; |
| 63 | } |
| 64 | |
| 65 | |
| 66 | QModelIndex ProcessListModel::index(int row, int column, const QModelIndex&) const |