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

Method setPasted

src/backend/core/AbstractAspect.cpp:718–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716
717STD_SETTER_CMD_IMPL(AbstractAspect, SetPasted, bool, m_pasted)
718void AbstractAspect::setPasted(bool pasted) {
719 // this property is part of the aspect state which is evaluated during the duplicate/paste steps,
720 // its modification needs to be put onto the undo stack.
721 if (pasted != d->m_pasted)
722 exec(new AbstractAspectSetPastedCmd(d, pasted, ki18n("%1: pasted")));
723}
724
725bool AbstractAspect::isPasted() const {
726 return d->m_pasted;

Callers 1

pasteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected