| 1406 | } |
| 1407 | |
| 1408 | void InputEditorModel::setAutofireInput(int column, bool checked) |
| 1409 | { |
| 1410 | if (column < COLUMN_SPECIAL_SIZE) |
| 1411 | return; |
| 1412 | |
| 1413 | if (column == columnCount() - 1) |
| 1414 | return; |
| 1415 | |
| 1416 | movie->editor->setAutofire(column-COLUMN_SPECIAL_SIZE, checked); |
| 1417 | |
| 1418 | emit dataChanged(index(0,column), index(rowCount(),column), QVector<int>(1, Qt::BackgroundRole)); |
| 1419 | emit headerDataChanged(Qt::Horizontal, column, column); |
| 1420 | } |
| 1421 | |
| 1422 | bool InputEditorModel::isAutofireInput(int column) const |
| 1423 | { |
no test coverage detected