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

UndoMove Class Reference

#include <undomove.h>

Inheritance diagram for UndoMove:

Undo List of all members.

Public Member Functions

 UndoMove (unsigned int fromFrame, unsigned int toFrame, unsigned int movePosition, int activeScene)
void undo (AnimationModel *a)
void redo (AnimationModel *a)

Detailed Description

Superclass for all undo command objects. The undo objects can be called upon to undo operations the user has done.
Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

UndoMove::UndoMove unsigned int  fromFrame,
unsigned int  toFrame,
unsigned int  movePosition,
int  activeScene
 

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

Parameters:
fromFrame the first of the frames which were moved.
toFrame the last of the frames which were moved.
movePosition the position the frames was moved to.
activeScene the scene the frames were moved within.


Member Function Documentation

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