Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

UndoHistory Class Reference

#include <undohistory.h>

List of all members.

Public Member Functions

void addUndo (Undo *undo)
bool undo (AnimationModel *a)
bool redo (AnimationModel *a)
void clear ()


Detailed Description

Factory for storing, handling and retrieving undos.

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Member Function Documentation

void UndoHistory::addUndo Undo undo  ) 
 

Add an undo command object to the list of undoable commands.

Parameters:
undo the undo command to add to the list of undoable commands.

void UndoHistory::clear  ) 
 

Clears the undo history.

bool UndoHistory::redo AnimationModel a  ) 
 

Calls redo on the next undo in the history

Parameters:
a the animationmodel the redo operation is performed on.
Returns:
true if there are no more undos to redo in the container.

bool UndoHistory::undo AnimationModel a  ) 
 

Calls undo on the current undo in the history.

Parameters:
a the animationmodel the undo operation is performed on.
Returns:
true if there is no more undoes to undo in the container


The documentation for this class was generated from the following files:
Generated on Thu May 19 01:51:22 2005 for stopmotion.kdevelop by  doxygen 1.4.2