MirrorCommand
MirrorCommand Class Reference
#include <mirrorcommand.h>
Inheritance diagram for MirrorCommand:

Public Member Functions | |
| MirrorCommand (bool horizontal, bool vertical) | |
| QImage | redo (QImage image) override | 
| QImage | undo (QImage image) override | 
  Public Member Functions inherited from Command | |
| void | addProperty (const QString &key, const QVariant &value) | 
| QVariant | getPropertyValue (const QString &key) | 
| bool | hasProperty (const QString &key) | 
Detailed Description
MirrorCommand that mirror an image horizontally or vertically.
Definition at line 16 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()
Applies the change to the document.
Implements Command.
Definition at line 20 of file mirrorcommand.cpp.
◆ undo()
Revert a change to the document.
Implements Command.
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-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
          Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 Public Member Functions inherited from