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

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

Applies the change to the document.

Implemented in CropCommand, RotateCommand, ResizeCommand, and MirrorCommand.

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-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:07:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.