|
Krita Source Code Documentation
|
#include <KoSvgTextFlipShapeContourTypeCommand.h>
Inheritance diagram for KoSvgTextFlipShapeContourTypeCommand:Classes | |
| struct | Private |
Private Attributes | |
| QScopedPointer< Private > | d |
Definition at line 15 of file KoSvgTextFlipShapeContourTypeCommand.h.
| KoSvgTextFlipShapeContourTypeCommand::KoSvgTextFlipShapeContourTypeCommand | ( | KoSvgTextShape * | textShape, |
| KoShape * | shape, | ||
| KUndo2Command * | parent = nullptr ) |
Definition at line 25 of file KoSvgTextFlipShapeContourTypeCommand.cpp.
| KoSvgTextFlipShapeContourTypeCommand::~KoSvgTextFlipShapeContourTypeCommand | ( | ) |
Definition at line 32 of file KoSvgTextFlipShapeContourTypeCommand.cpp.
|
overridevirtual |
Applies a change to the document. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls redo() on all child commands.
Reimplemented from KUndo2Command.
Definition at line 37 of file KoSvgTextFlipShapeContourTypeCommand.cpp.
References KoShapeBulkActionLock::bulkShapesUpdate(), d, and KoShapeBulkActionLock::unlock().
|
overridevirtual |
Reverts a change to the document. After undo() is called, the state of the document should be the same as before redo() was called. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls undo() on all child commands in reverse order.
Reimplemented from KUndo2Command.
Definition at line 46 of file KoSvgTextFlipShapeContourTypeCommand.cpp.
References KoShapeBulkActionLock::bulkShapesUpdate(), d, and KoShapeBulkActionLock::unlock().
|
private |
Definition at line 25 of file KoSvgTextFlipShapeContourTypeCommand.h.