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

UndoAdd Class Reference

#include <undoadd.h>

Inheritance diagram for UndoAdd:

Undo List of all members.

Public Member Functions

 UndoAdd (int fromIndex, const vector< char * > &frameNames, int activeScene)
void undo (AnimationModel *a)
void redo (AnimationModel *a)

Detailed Description

The UndoAdd class for undoing addFrames(...) calls to the domain.
Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

UndoAdd::UndoAdd int  fromIndex,
const vector< char * > &  frameNames,
int  activeScene
 

Sets up the UndoAdd command object with the information needed to undo and redo the add command.

Parameters:
fromIndex the index of the first frame added. Used for undoing the command
frameNames the name of the frame added. Used for redoing the command.
activeScene the scene the frames were added to.


Member Function Documentation

void UndoAdd::redo AnimationModel a  )  [virtual]
 

Abstract function for redoing (performing) the command represented by this undo object.

Parameters:
a the model to perform the redo command on.

Implements Undo.

void UndoAdd::undo AnimationModel a  )  [virtual]
 

Abstract function for undoing the command represented by this undo object.

Parameters:
a the model to perform the undo command on.

Implements Undo.


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