|
Krita Source Code Documentation
|
Inheritance diagram for KisChangeOverlayWrapperCommand:Public Attributes | |
| KisOverlayPaintDeviceWrapper::Private * | m_d |
| QSharedPointer< KisRectsGrid > | m_newRectsGrid |
| QSharedPointer< KisRectsGrid > | m_oldRectsGrid |
Definition at line 41 of file KisOverlayPaintDeviceWrapper.cpp.
|
inline |
Definition at line 43 of file KisOverlayPaintDeviceWrapper.cpp.
|
inlineoverridevirtual |
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 55 of file KisOverlayPaintDeviceWrapper.cpp.
References KisOverlayPaintDeviceWrapper::Private::grid, m_d, m_newRectsGrid, KisOverlayPaintDeviceWrapper::Private::previousGrid, and KUndo2Command::redo().
|
inlineoverridevirtual |
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 49 of file KisOverlayPaintDeviceWrapper.cpp.
References KisOverlayPaintDeviceWrapper::Private::grid, m_d, m_oldRectsGrid, KisOverlayPaintDeviceWrapper::Private::previousGrid, and KUndo2Command::undo().
| KisOverlayPaintDeviceWrapper::Private* KisChangeOverlayWrapperCommand::m_d |
Definition at line 63 of file KisOverlayPaintDeviceWrapper.cpp.
| QSharedPointer<KisRectsGrid> KisChangeOverlayWrapperCommand::m_newRectsGrid |
Definition at line 62 of file KisOverlayPaintDeviceWrapper.cpp.
| QSharedPointer<KisRectsGrid> KisChangeOverlayWrapperCommand::m_oldRectsGrid |
Definition at line 61 of file KisOverlayPaintDeviceWrapper.cpp.