CropCommand

Search for usage in LXR

CropCommand Class Reference

#include <cropcommand.h>

Inheritance diagram for CropCommand:

Public Member Functions

 CropCommand (const QRect &cropRect)
 
virtual QImage redo (QImage image) override
 
virtual QImage undo (QImage image) override
 

Detailed Description

CropCommand that crop the current image.

Definition at line 17 of file cropcommand.h.

Constructor & Destructor Documentation

◆ CropCommand()

CropCommand::CropCommand ( const QRect & cropRect)

Contructor.

Definition at line 9 of file cropcommand.cpp.

Member Function Documentation

◆ redo()

QImage CropCommand::redo ( QImage image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 20 of file cropcommand.cpp.

◆ undo()

QImage CropCommand::undo ( QImage image)
overridevirtual

Revert a change to the document.

Implements UndoCommand.

Definition at line 14 of file cropcommand.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 Tue Mar 26 2024 11:19:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.