MCPcopy Create free account
hub / github.com/KDE/labplot / clear

Method clear

src/backend/datasources/AbstractDataSource.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void 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}

Callers

nothing calls this directly

Calls 3

setUndoAwareMethod · 0.80
setChangedMethod · 0.45

Tested by

no test coverage detected