RotateCommand

Search for usage in LXR

RotateCommand Class Reference

#include <rotatecommand.h>

Inheritance diagram for RotateCommand:

Public Member Functions

 RotateCommand (const QTransform &m_tranform)
 
virtual QImage redo (QImage image) override
 
virtual QImage undo (QImage image) override
 

Detailed Description

RotateCommand that rotates the current image.

Definition at line 17 of file rotatecommand.h.

Constructor & Destructor Documentation

◆ RotateCommand()

RotateCommand::RotateCommand ( const QTransform & m_tranform)

Contructor.

Definition at line 10 of file rotatecommand.cpp.

Member Function Documentation

◆ redo()

QImage RotateCommand::redo ( QImage image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 20 of file rotatecommand.cpp.

◆ undo()

QImage RotateCommand::undo ( QImage image)
overridevirtual

Revert a change to the document.

Implements UndoCommand.

Definition at line 15 of file rotatecommand.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.