#include <ImageModel.h>
Inherits Command.
Inheritance diagram for ImageModel::ChangeImageCommand:


Definition at line 108 of file ImageModel.h.
Public Member Functions | |
| ChangeImageCommand (ImageModel *model, const ImagePoint &point, QString newImage, QString newLabel) | |
| virtual QString | getName () const |
| virtual void | execute () |
| virtual void | unexecute () |
Private Attributes | |
| ImageModel * | m_model |
| ImagePoint | m_oldPoint |
| ImagePoint | m_newPoint |
| ImageModel::ChangeImageCommand::ChangeImageCommand | ( | ImageModel * | model, | |
| const ImagePoint & | point, | |||
| QString | newImage, | |||
| QString | newLabel | |||
| ) | [inline] |
Definition at line 111 of file ImageModel.h.
References ImagePoint::image, ImagePoint::label, and m_newPoint.
| virtual QString ImageModel::ChangeImageCommand::getName | ( | ) | const [inline, virtual] |
| virtual void ImageModel::ChangeImageCommand::execute | ( | ) | [inline, virtual] |
Implements Command.
Definition at line 122 of file ImageModel.h.
References SparseModel< PointType >::addPoint(), SparseModel< PointType >::deletePoint(), m_model, m_newPoint, and m_oldPoint.
Referenced by unexecute().
| virtual void ImageModel::ChangeImageCommand::unexecute | ( | ) | [inline, virtual] |
1.5.1