digiKam
Digikam::UndoManager Class Reference

Public Member Functions

void addAction (UndoAction *const action)
 
bool anyMoreRedo () const
 
bool anyMoreUndo () const
 
int availableRedoSteps () const
 
int availableUndoSteps () const
 
void clear (bool clearCache=true)
 
void clearPreviousOriginData ()
 
DImageHistory getImageHistoryOfFullRedo () const
 The history if all available redo steps are redone. More...
 
QStringList getRedoHistory () const
 
QStringList getUndoHistory () const
 
bool hasChanges () const
 
bool isAtOrigin () const
 
bool putImageDataAndHistory (DImg *const img, int stepsBack) const
 
void redo ()
 
void rollbackToOrigin ()
 
void setOrigin () const
 
void undo ()
 
 UndoManager (EditorCore *const core)
 
 ~UndoManager ()
 

Constructor & Destructor Documentation

◆ UndoManager()

Digikam::UndoManager::UndoManager ( EditorCore *const  core)
explicit

◆ ~UndoManager()

Digikam::UndoManager::~UndoManager ( )

References clear().

Member Function Documentation

◆ addAction()

void Digikam::UndoManager::addAction ( UndoAction *const  action)

◆ anyMoreRedo()

bool Digikam::UndoManager::anyMoreRedo ( ) const

◆ anyMoreUndo()

bool Digikam::UndoManager::anyMoreUndo ( ) const

◆ availableRedoSteps()

int Digikam::UndoManager::availableRedoSteps ( ) const

◆ availableUndoSteps()

int Digikam::UndoManager::availableUndoSteps ( ) const

◆ clear()

void Digikam::UndoManager::clear ( bool  clearCache = true)

◆ clearPreviousOriginData()

void Digikam::UndoManager::clearPreviousOriginData ( )

◆ getImageHistoryOfFullRedo()

DImageHistory Digikam::UndoManager::getImageHistoryOfFullRedo ( ) const

The history if all available redo steps are redone.

Referenced by Digikam::EditorCore::getImageHistoryOfFullRedo().

◆ getRedoHistory()

QStringList Digikam::UndoManager::getRedoHistory ( ) const

◆ getUndoHistory()

QStringList Digikam::UndoManager::getUndoHistory ( ) const

◆ hasChanges()

bool Digikam::UndoManager::hasChanges ( ) const

◆ isAtOrigin()

bool Digikam::UndoManager::isAtOrigin ( ) const

◆ putImageDataAndHistory()

◆ redo()

void Digikam::UndoManager::redo ( )

◆ rollbackToOrigin()

void Digikam::UndoManager::rollbackToOrigin ( )

◆ setOrigin()

void Digikam::UndoManager::setOrigin ( ) const

◆ undo()

void Digikam::UndoManager::undo ( )

The documentation for this class was generated from the following files: