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