| 493 | //! Set the value of the cell (needs explicit instantiation) |
| 494 | template<typename T> |
| 495 | void Matrix::setCell(int row, int col, T value) { |
| 496 | Q_D(Matrix); |
| 497 | if (row < 0 || row >= rowCount()) |
| 498 | return; |
| 499 | if (col < 0 || col >= columnCount()) |
| 500 | return; |
| 501 | exec(new MatrixSetCellValueCmd<T>(d, row, col, value)); |
| 502 | } |
| 503 | template void Matrix::setCell<double>(int row, int col, double value); |
| 504 | template void Matrix::setCell<int>(int row, int col, int value); |
| 505 | template void Matrix::setCell<qint64>(int row, int col, qint64 value); |
no test coverage detected