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

Method clear

src/backend/spreadsheet/Spreadsheet.cpp:661–668  ·  view source on GitHub ↗

! * Clears all values in the spreadsheet. */

Source from the content-addressed store, hash-verified

659 * Clears all values in the spreadsheet.
660 */
661void Spreadsheet::clear() {
662 WAIT_CURSOR;
663 beginMacro(i18n("%1: clear", name()));
664 for (auto* col : children<Column>())
665 col->clear();
666 endMacro();
667 RESET_CURSOR;
668}
669
670/*!
671 * Clears all values in the specified \c columns.

Callers 1

finalizeImportMethod · 0.45

Calls 2

setChangedMethod · 0.45

Tested by

no test coverage detected