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

UndoNewScene Class Reference

#include <undonewscene.h>

Inheritance diagram for UndoNewScene:

Undo List of all members.

Public Member Functions

 UndoNewScene (int sceneNumber)
virtual ~UndoNewScene ()
void undo (AnimationModel *a)
void redo (AnimationModel *a)

Detailed Description

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


Constructor & Destructor Documentation

UndoNewScene::UndoNewScene int  sceneNumber  ) 
 

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

Parameters:
sceneNumber the index of the new scene.

UndoNewScene::~UndoNewScene  )  [virtual]
 

Cleans up after the undo object.


Member Function Documentation

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