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

UndoMoveScene Class Reference

#include <undomovescene.h>

Inheritance diagram for UndoMoveScene:

Undo List of all members.

Public Member Functions

 UndoMoveScene (int sceneNumber, int movePosition)
virtual ~UndoMoveScene ()
void undo (AnimationModel *a)
void redo (AnimationModel *a)

Detailed Description

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


Constructor & Destructor Documentation

UndoMoveScene::UndoMoveScene int  sceneNumber,
int  movePosition
 

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

Parameters:
sceneNumber the index the scene had before being moved.

UndoMoveScene::~UndoMoveScene  )  [virtual]
 

Cleans up after the undo object.


Member Function Documentation

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