| 126 | } |
| 127 | |
| 128 | bool MacroStepTableModel::removeRows(int row, int count, const QModelIndex &parent) |
| 129 | { |
| 130 | Q_UNUSED(parent); |
| 131 | |
| 132 | beginRemoveRows(QModelIndex(), row, row + count - 1); |
| 133 | |
| 134 | macro->getSteps().remove(row, count); |
| 135 | |
| 136 | endRemoveRows(); |
| 137 | |
| 138 | return true; |
| 139 | } |
| 140 | |
| 141 | bool MacroStepTableModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) |
| 142 | { |
nothing calls this directly
no outgoing calls
no test coverage detected