Isis 3 Programmer Reference
OpenProjectWorkOrder.h
Go to the documentation of this file.
1 #ifndef OpenProjectWorkOrder_H
2 #define OpenProjectWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 class QString;
28 
29 namespace Isis {
30 
57  Q_OBJECT
58  public:
62 
63  virtual OpenProjectWorkOrder *clone() const;
64 
65 
66  bool isExecutable(QString projectFileName, bool recentProject=false);
67  bool setupExecution();
68  void execute();
69  void setRecent(bool isRecent);
70 
71  signals:
72  void openProjectFromCommandLine(QString);
73 
74  private:
75  OpenProjectWorkOrder &operator=(const OpenProjectWorkOrder &rhs);
76  bool m_recentProject;
77 
78  bool m_startingState;
79  QString m_projectPath;
80  };
81 }
82 
83 #endif // OpenProjectWorkOrder_H
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::OpenProjectWorkOrder::setupExecution
bool setupExecution()
Setup this WorkOrder for execution, deleting the progress bar, determine if there is a current projec...
Definition: OpenProjectWorkOrder.cpp:120
Isis::OpenProjectWorkOrder::isExecutable
bool isExecutable(QString projectFileName, bool recentProject=false)
This function determines if the given project file name can be opened.
Definition: OpenProjectWorkOrder.cpp:103
Isis::OpenProjectWorkOrder::OpenProjectWorkOrder
OpenProjectWorkOrder(Project *project)
Constructs an OpenProjectWorkOrder.
Definition: OpenProjectWorkOrder.cpp:47
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::OpenProjectWorkOrder
This opens a project that's saved on disk.
Definition: OpenProjectWorkOrder.h:56
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::OpenProjectWorkOrder::~OpenProjectWorkOrder
~OpenProjectWorkOrder()
Destructor.
Definition: OpenProjectWorkOrder.cpp:82
Isis::OpenProjectWorkOrder::execute
void execute()
Open the chosen project folder.
Definition: OpenProjectWorkOrder.cpp:175
Isis::OpenProjectWorkOrder::clone
virtual OpenProjectWorkOrder * clone() const
Clones the current OpenProjectWorkOrder.
Definition: OpenProjectWorkOrder.cpp:92
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16