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

Method setShowComments

src/backend/spreadsheet/Spreadsheet.cpp:420–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418BASIC_SHARED_D_READER_IMPL(Spreadsheet, bool, showComments, showComments)
419STD_SETTER_CMD_IMPL_F_S(Spreadsheet, SetShowComments, bool, showComments, updateCommentsHeader)
420void Spreadsheet::setShowComments(bool showComments) {
421 Q_D(Spreadsheet);
422 if (d->showComments != showComments)
423 exec(new SpreadsheetSetShowCommentsCmd(d, showComments, ki18n("%1: toggle comments header")));
424}
425
426BASIC_SHARED_D_READER_IMPL(Spreadsheet, bool, showSparklines, showSparklines)
427STD_SETTER_CMD_IMPL_F_S(Spreadsheet, SetShowSparklines, bool, showSparklines, updateSparklinesHeader)

Callers 2

commentsShownChangedMethod · 0.80
toggleCommentsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected