UndoCommand

Search for usage in LXR

UndoCommand Class Referenceabstract

#include <undocommand.h>

Inheritance diagram for UndoCommand:

Public Member Functions

virtual QImage redo (QImage image)=0
 
virtual QImage undo (QImage image)=0
 

Detailed Description

A class implementing the command pattern.

This is used to implemented various filters.

Definition at line 14 of file undocommand.h.

Member Function Documentation

◆ redo()

virtual QImage UndoCommand::redo ( QImage  image)
pure virtual

Applies the change to the document.

Implemented in CropCommand, RotateCommand, ResizeCommand, and MirrorCommand.

◆ undo()

virtual QImage UndoCommand::undo ( QImage  image)
pure virtual

Revert a change to the document.

Implemented in CropCommand, RotateCommand, ResizeCommand, and MirrorCommand.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:07:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.