1 #ifndef ImportShapesWorkOrder_H
2 #define ImportShapesWorkOrder_H
80 class OriginalFileToProjectCubeFunctor :
81 public std::unary_function<const FileName &, Cube *> {
83 OriginalFileToProjectCubeFunctor(
QThread *guiThread,
84 QDir destinationFolder,
bool copyDnData);
85 OriginalFileToProjectCubeFunctor(
const OriginalFileToProjectCubeFunctor &other);
86 ~OriginalFileToProjectCubeFunctor();
94 OriginalFileToProjectCubeFunctor &operator=(
const OriginalFileToProjectCubeFunctor &rhs);
96 QDir m_destinationFolder;
101 QSharedPointer<IException> m_errors;
102 QSharedPointer<int> m_numErrors;
106 void importConfirmedShapes(
QStringList confirmedShapes,
bool copyDnData);
113 #endif // ImportShapesWorkOrder_H
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
void postSyncUndo()
This method is designed to be implemented by children work orders.
Definition: ImportShapesWorkOrder.cpp:127
The main project for cnetsuite.
Definition: Project.h:105
void postSyncRedo()
This method is designed to be implemented by children work orders.
Definition: ImportShapesWorkOrder.cpp:144
File name manipulation and expansion.
Definition: FileName.h:111
virtual ImportShapesWorkOrder * clone() const
Definition: ImportShapesWorkOrder.cpp:61
Add shape model cubes to a project.
Definition: ImportShapesWorkOrder.h:51
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
bool execute()
The (child) implementation of this method should prompt the user/gather state by any means necessary...
Definition: ImportShapesWorkOrder.cpp:66
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
ImportShapesWorkOrder(Project *project)
Definition: ImportShapesWorkOrder.cpp:39
void asyncUndo()
This method is designed to be implemented by children work orders.
Definition: ImportShapesWorkOrder.cpp:121
Isis exception class.
Definition: IException.h:99
~ImportShapesWorkOrder()
Definition: ImportShapesWorkOrder.cpp:55
void asyncRedo()
This method is designed to be implemented by children work orders.
Definition: ImportShapesWorkOrder.cpp:137
IO Handler for Isis Cubes.
Definition: Cube.h:158