1 #ifndef TargetGetInfoWorkOrder_H
2 #define TargetGetInfoWorkOrder_H
void syncRedo()
Redisplays the Target info.
Definition: TargetGetInfoWorkOrder.cpp:127
TargetGetInfoWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
Definition: TargetGetInfoWorkOrder.cpp:41
The main project for cnetsuite.
Definition: Project.h:105
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TargetGetInfoWorkOrder.
Definition: TargetGetInfoWorkOrder.cpp:118
bool execute()
Attempt to retrieve the Target info and view it.
Definition: TargetGetInfoWorkOrder.cpp:97
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
This is a child of class WorkOrder which is used for anything that performs an action in a Project...
Definition: TargetGetInfoWorkOrder.h:43
virtual bool isExecutable(TargetBodyQsp targetBody)
Determines if we already have a view for the target.
Definition: TargetGetInfoWorkOrder.cpp:78
TargetBodyQsp targetBody()
WorkOrder::targetBody.
Definition: WorkOrder.cpp:666
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
QSharedPointer< TargetBody > TargetBodyQsp
Defines A smart pointer to a TargetBody obj.
Definition: TargetBody.h:224
void syncUndo()
Deletes the last view.
Definition: TargetGetInfoWorkOrder.cpp:142
virtual TargetGetInfoWorkOrder * clone() const
Returns a copy of this TargetGetInfoWorkOrder instance.
Definition: TargetGetInfoWorkOrder.cpp:67
~TargetGetInfoWorkOrder()
The Destructor.
Definition: TargetGetInfoWorkOrder.cpp:59