Isis 3 Developer Reference
CloseProjectWorkOrder.h
Go to the documentation of this file.
1 #ifndef CloseProjectWorkOrder_H
2 #define CloseProjectWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28 
49  Q_OBJECT
50  public:
54 
55  virtual CloseProjectWorkOrder *clone() const;
56 
57  virtual bool isExecutable();
58  bool setupExecution();
59  void execute();
60 
61 
62  signals:
63 
64  private:
65  CloseProjectWorkOrder &operator=(const CloseProjectWorkOrder &rhs);
66  };
67 }
68 
69 #endif // CloseProjectWorkOrder_H
The main project for ipce.
Definition: Project.h:289
virtual bool isExecutable()
This method will always return true.
Definition: CloseProjectWorkOrder.cpp:79
This opens a project that's saved on disk.
Definition: CloseProjectWorkOrder.h:48
CloseProjectWorkOrder(Project *project)
This method sets the text of the work order to Close Project and sets setCreatesCleanState to true...
Definition: CloseProjectWorkOrder.cpp:42
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
virtual CloseProjectWorkOrder * clone() const
This method clones the CloseProjectWorkOrder.
Definition: CloseProjectWorkOrder.cpp:70
bool setupExecution()
If WorkOrder::execute() returns true, then this method returns true.
Definition: CloseProjectWorkOrder.cpp:89
void execute()
Clear the current Project
Definition: CloseProjectWorkOrder.cpp:120
~CloseProjectWorkOrder()
Destructor.
Definition: CloseProjectWorkOrder.cpp:61
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1314