| 139 | } |
| 140 | |
| 141 | void InputEventModel::duplicate(int min_row, int max_row) |
| 142 | { |
| 143 | beginInsertRows(QModelIndex(), rowCount(), rowCount()+(max_row-min_row)); |
| 144 | for (int r = min_row; r <= max_row; r++) |
| 145 | events.push_back(events[r]); |
| 146 | endInsertRows(); |
| 147 | } |
| 148 | |
| 149 | void InputEventModel::remove(int min_row, int max_row) |
| 150 | { |