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

UndoRemove Class Reference

#include <undoremove.h>

Inheritance diagram for UndoRemove:

Undo List of all members.

Public Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

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

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

Note: The needed information ``toIndex'' is extracted from the length of the frameNames vector.

Parameters:
frameNames the paths to the frames which has been removed.
fromIndex the index of the first removed frame.
activeScene the scene from which the frames were removed.


Member Function Documentation

void UndoRemove::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 UndoRemove::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