1#ifndef ImportMapTemplateWorkOrder_H
2#define ImportMapTemplateWorkOrder_H
25 #include "WorkOrder.h"
26 #include "ProjectItem.h"
28 #include "TemplateList.h"
Add map templates to a project.
virtual bool isExecutable(ProjectItem *item)
This method returns true if the user clicked on a project tree node with the text "Maps".
~ImportMapTemplateWorkOrder()
Destructor.
bool setupExecution()
Sets up the work order for execution.
virtual ImportMapTemplateWorkOrder * clone() const
This method clones the current ImportMapTemplateWorkOrder and returns it.
void undoExecution()
Deletes the previously imported templates.
ImportMapTemplateWorkOrder(Project *project)
Creates a work order to import map templates.
void execute()
Imports the templates.
The main project for ipce.
Represents an item of a ProjectItemModel in Qt's model-view framework.
Provide Undo/redo abilities, serialization, and history for an operation.
Project * project() const
Returns the Project this WorkOrder is attached to.
This is free and unencumbered software released into the public domain.