cherish
Public Member Functions | Protected Attributes | List of all members
fur::EditPhotoDeleteCommand Class Reference

QUndoCommand that performs deletion of a photo. More...

#include <EditEntityCommand.h>

Inheritance diagram for fur::EditPhotoDeleteCommand:

Public Member Functions

 EditPhotoDeleteCommand (entity::UserScene *scene, entity::Canvas *canvas, entity::Photo *photo, QUndoCommand *parent=0)
 
void undo () Q_DECL_OVERRIDE
 
void redo () Q_DECL_OVERRIDE
 

Protected Attributes

osg::observer_ptr< entity::UserScenem_scene
 
osg::observer_ptr< entity::Canvasm_canvas
 
osg::ref_ptr< entity::Photom_photo
 
osg::observer_ptr< entity::Bookmarksm_bookmarks
 

Detailed Description

QUndoCommand that performs deletion of a photo.

Constructor & Destructor Documentation

§ EditPhotoDeleteCommand()

fur::EditPhotoDeleteCommand::EditPhotoDeleteCommand ( entity::UserScene scene,
entity::Canvas canvas,
entity::Photo photo,
QUndoCommand *  parent = 0 
)
Parameters
sceneis the scene graph to edit,
canvasis a canvas to delete from,
photois a photo to delete,
parentis normally 0.

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