1#include "MoveDownOneSceneWorkOrder.h"
3#include "MosaicSceneWidget.h"
7 MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(MosaicSceneWidget *scene, Project *project) :
8 MosaicSceneWorkOrder(tr(
"Send Backward"), scene, project) {
12 MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(Project *project) :
13 MosaicSceneWorkOrder(project) {
17 MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(
const MoveDownOneSceneWorkOrder &other) :
18 MosaicSceneWorkOrder(other) {
22 MoveDownOneSceneWorkOrder::~MoveDownOneSceneWorkOrder() {
26 MoveDownOneSceneWorkOrder *MoveDownOneSceneWorkOrder::clone()
const {
27 return new MoveDownOneSceneWorkOrder(*
this);
31 void MoveDownOneSceneWorkOrder::execute() {
32 storeZPositions( scene()->moveDownOne(imageList()) );
36 void MoveDownOneSceneWorkOrder::undoExecution() {
37 restoreZPositions(
true);
This is free and unencumbered software released into the public domain.