kwave  18.07.70
Kwave::UndoHandler Class Referenceabstract

#include <UndoHandler.h>

Inheritance diagram for Kwave::UndoHandler:
Inheritance graph
Collaboration diagram for Kwave::UndoHandler:
Collaboration graph

Public Member Functions

 UndoHandler ()
 
virtual ~UndoHandler ()
 
virtual bool saveUndoData (Kwave::UndoTransaction &undo)=0
 

Detailed Description

Definition at line 30 of file UndoHandler.h.

Constructor & Destructor Documentation

◆ UndoHandler()

Kwave::UndoHandler::UndoHandler ( )
inline

Default constructor

Definition at line 35 of file UndoHandler.h.

36  {}

◆ ~UndoHandler()

virtual Kwave::UndoHandler::~UndoHandler ( )
inlinevirtual

Destructor

Definition at line 39 of file UndoHandler.h.

39 {}

Member Function Documentation

◆ saveUndoData()

virtual bool Kwave::UndoHandler::saveUndoData ( Kwave::UndoTransaction undo)
pure virtual

Called by an undo manager to notify the handler that it is time to save data for undo.

Parameters
undoan undo transaction to append some undo data
Return values
trueif successful
falseif saving undo data failed, e.g. out of memory or aborted

Implemented in Kwave::SelectionTracker.

Referenced by Kwave::UndoManager::startUndoTransaction().

Here is the caller graph for this function:

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