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