| 260 | } |
| 261 | |
| 262 | QModelIndex FrameStackModel::parent(const QModelIndex& child) const |
| 263 | { |
| 264 | if (!child.internalId()) { |
| 265 | return QModelIndex(); |
| 266 | } else { |
| 267 | return index(child.internalId()-1, 0); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | QModelIndex FrameStackModel::index(int row, int column, const QModelIndex& parent) const |
| 272 | { |
nothing calls this directly
no test coverage detected