cherish
|
QUndoCommand that performs addition of a photo to entity::UserScene. More...
#include <AddEntityCommand.h>
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 |
QUndoCommand that performs addition of a photo to entity::UserScene.
fur::AddPhotoCommand::AddPhotoCommand | ( | entity::UserScene * | scene, |
const std::string & | fname, | ||
const std::string & | ename, | ||
QUndoCommand * | parent = 0 |
||
) |
scene | is the scene graph to add to, |
fname | is path of where the photo is located, |
ename | is the photo name within the scene graph, |
parent | is normally 0. |