ResizeCommand

Search for usage in LXR

ResizeCommand Class Reference

#include <resizecommand.h>

Inheritance diagram for ResizeCommand:

Public Member Functions

 ResizeCommand (const QSize &resizeSize)
 
QImage redo (QImage image) override
 
QImage undo (QImage image) override
 
- Public Member Functions inherited from UndoCommand

Detailed Description

ResizeCommand that resizes the current image.

Definition at line 15 of file resizecommand.h.

Constructor & Destructor Documentation

◆ ResizeCommand()

ResizeCommand::ResizeCommand ( const QSize & resizeSize)

Contructor.

Definition at line 8 of file resizecommand.cpp.

Member Function Documentation

◆ redo()

QImage ResizeCommand::redo ( QImage image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 19 of file resizecommand.cpp.

◆ undo()

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-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:10:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.