cherish
Public Member Functions | List of all members
fur::AddPhotoCommand Class Reference

QUndoCommand that performs addition of a photo to entity::UserScene. More...

#include <AddEntityCommand.h>

Inheritance diagram for fur::AddPhotoCommand:

Public Member Functions

 AddPhotoCommand (entity::UserScene *scene, const std::string &fname, const std::string &ename, QUndoCommand *parent=0)
 
void undo () Q_DECL_OVERRIDE
 
void redo () Q_DECL_OVERRIDE
 

Detailed Description

QUndoCommand that performs addition of a photo to entity::UserScene.

Constructor & Destructor Documentation

§ AddPhotoCommand()

fur::AddPhotoCommand::AddPhotoCommand ( entity::UserScene scene,
const std::string &  fname,
const std::string &  ename,
QUndoCommand *  parent = 0 
)
Parameters
sceneis the scene graph to add to,
fnameis path of where the photo is located,
enameis the photo name within the scene graph,
parentis normally 0.

The documentation for this class was generated from the following files: