ResizeCommand

Search for usage in LXR

ResizeCommand Class Reference

#include <resizecommand.h>

Inheritance diagram for ResizeCommand:

Public Member Functions

 ResizeCommand (const QSize &resizeSize)
 
virtual QImage redo (QImage image) override
 
virtual QImage undo (QImage image) override
 

Detailed Description

ResizeCommand that resizes the current image.

Definition at line 16 of file resizecommand.h.

Constructor & Destructor Documentation

ResizeCommand::ResizeCommand ( const QSize resizeSize)

Contructor.

Definition at line 8 of file resizecommand.cpp.

Member Function Documentation

QImage ResizeCommand::redo ( QImage  image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 19 of file resizecommand.cpp.

QImage ResizeCommand::undo ( QImage  image)
overridevirtual

Revert a change to the document.

Implements UndoCommand.

Definition at line 13 of file resizecommand.cpp.


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 Sun Oct 17 2021 23:08:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.