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

Method beginMacro

src/backend/core/AbstractAspect.cpp:1069–1076  ·  view source on GitHub ↗

* \brief Begin an undo stack macro (series of commands) */

Source from the content-addressed store, hash-verified

1067 * \brief Begin an undo stack macro (series of commands)
1068 */
1069void AbstractAspect::beginMacro(const QString& text) {
1070 if (!d->m_undoAware || (project() && !project()->isUndoAware()))
1071 return;
1072
1073 QUndoStack* stack = undoStack();
1074 if (stack)
1075 stack->beginMacro(text);
1076}
1077
1078/**
1079 * \brief End the current undo stack macro

Callers 15

changeSelectedVisibleMethod · 0.80
deleteSelectedMethod · 0.80
curveSelectionChangedMethod · 0.80
colorChangedMethod · 0.80
orientationChangedMethod · 0.80
pageChangedMethod · 0.80

Calls 1

isUndoAwareMethod · 0.80

Tested by

no test coverage detected