Isis Developer 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
FileName.h
Cube.h
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::SaveProjectAsWorkOrder::~SaveProjectAsWorkOrder
~SaveProjectAsWorkOrder()
Destructor.
Definition: SaveProjectAsWorkOrder.cpp:69
SaveProjectAsWorkOrder.h
Isis::Project::open
void open(QString)
Open the project at the given path.
Definition: Project.cpp:1345
Isis::WorkOrder::setInternalData
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
Isis::SaveProjectAsWorkOrder::SaveProjectAsWorkOrder
SaveProjectAsWorkOrder(Project *project)
Creates a work order to save the project to a new location.
Definition: SaveProjectAsWorkOrder.cpp:43
Isis::SaveProjectAsWorkOrder::execute
virtual void execute()
Executes the work order.
Definition: SaveProjectAsWorkOrder.cpp:120
QStringList
Isis::Project
The main project for ipce.
Definition: Project.h:289
WorkOrder.h
Isis::WorkOrder::m_isUndoable
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
Isis::SaveProjectAsWorkOrder::setupExecution
virtual bool setupExecution()
Sets up this work order prior to execution.
Definition: SaveProjectAsWorkOrder.cpp:94
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::Project::save
bool save()
Generic save method to save the state of the project.
Definition: Project.cpp:2324
Isis::SaveProjectAsWorkOrder::clone
virtual SaveProjectAsWorkOrder * clone() const
Creates a clone of this work order.
Definition: SaveProjectAsWorkOrder.cpp:79
Isis::WorkOrder::internalData
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
Isis::WorkOrder::setCreatesCleanState
void setCreatesCleanState(bool createsCleanState)
Declare that this work order is saving the project.
Definition: WorkOrder.cpp:1663
Isis::SaveProjectAsWorkOrder
Saves a project to disk (File->Save Project As...)
Definition: SaveProjectAsWorkOrder.h:54
Isis::Project::setClean
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
CubeAttribute.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16