| 24 | } |
| 25 | |
| 26 | void AbstractDataSource::clear() { |
| 27 | const auto& columns = children<Column>(); |
| 28 | for (auto* column : columns) { |
| 29 | column->setUndoAware(false); |
| 30 | column->setSuppressDataChangedSignal(true); |
| 31 | column->clear(); |
| 32 | column->setUndoAware(true); |
| 33 | column->setSuppressDataChangedSignal(false); |
| 34 | column->setChanged(); |
| 35 | } |
| 36 | } |
nothing calls this directly
no test coverage detected