MirrorCommand

Search for usage in LXR

MirrorCommand Class Reference

#include <mirrorcommand.h>

Inheritance diagram for MirrorCommand:

Public Member Functions

 MirrorCommand (bool horizontal, bool vertical)
 
virtual QImage redo (QImage image) override
 
virtual QImage undo (QImage image) override
 

Detailed Description

MirrorCommand that mirror an image horizontally or vertically.

Definition at line 17 of file mirrorcommand.h.

Constructor & Destructor Documentation

◆ MirrorCommand()

MirrorCommand::MirrorCommand ( bool horizontal,
bool vertical )

Definition at line 9 of file mirrorcommand.cpp.

Member Function Documentation

◆ redo()

QImage MirrorCommand::redo ( QImage image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 20 of file mirrorcommand.cpp.

◆ undo()

QImage MirrorCommand::undo ( QImage image)
overridevirtual

Revert a change to the document.

Implements UndoCommand.

Definition at line 15 of file mirrorcommand.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 Jul 12 2024 12:02:19 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.