| 66 | } |
| 67 | |
| 68 | QModelIndex TaskModel::index(int row, int column, const QModelIndex &parent) const |
| 69 | { |
| 70 | if (parent.isValid()) |
| 71 | return QModelIndex(); |
| 72 | return createIndex(row, column); |
| 73 | } |
| 74 | |
| 75 | QModelIndex TaskModel::parent(const QModelIndex &child) const |
| 76 | { |
no test coverage detected