Isis 3 Programmer Reference
SaveProjectAsWorkOrder.h
Go to the documentation of this file.
1 #ifndef SaveProjectAsWorkOrder_H
2 #define SaveProjectAsWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 #include <functional>
28 
29 #include <QDir>
30 
31 class QString;
32 
33 namespace Isis {
34  class FileName;
35 
55  Q_OBJECT
56  public:
60 
61  virtual SaveProjectAsWorkOrder *clone() const;
62 
63  virtual bool setupExecution();
64  virtual void execute();
65 
66  private:
67  SaveProjectAsWorkOrder &operator=(const SaveProjectAsWorkOrder &rhs);
68  };
69 }
70 
71 #endif // SaveProjectAsWorkOrder_H
Saves a project to disk (File->Save Project As...)
virtual SaveProjectAsWorkOrder * clone() const
Creates a clone of this work order.
The main project for ipce.
Definition: Project.h:289
virtual void execute()
Executes the work order.
SaveProjectAsWorkOrder(Project *project)
Creates a work order to save the project to a new location.
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 bool setupExecution()
Sets up this work order prior to execution.
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