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