| 1381 | } |
| 1382 | |
| 1383 | void InputEditorModel::setAutoholdInput(int column, bool checked) |
| 1384 | { |
| 1385 | if (column < COLUMN_SPECIAL_SIZE) |
| 1386 | return; |
| 1387 | |
| 1388 | if (column == columnCount() - 1) |
| 1389 | return; |
| 1390 | |
| 1391 | movie->editor->setAutohold(column-COLUMN_SPECIAL_SIZE, checked); |
| 1392 | |
| 1393 | emit dataChanged(index(0,column), index(rowCount(),column), QVector<int>(1, Qt::BackgroundRole)); |
| 1394 | emit headerDataChanged(Qt::Horizontal, column, column); |
| 1395 | } |
| 1396 | |
| 1397 | bool InputEditorModel::isAutoholdInput(int column) const |
| 1398 | { |
no test coverage detected