Isis Developer Reference
OpenProjectWorkOrder.h
Go to the documentation of this file.
1#ifndef OpenProjectWorkOrder_H
2#define OpenProjectWorkOrder_H
25#include "WorkOrder.h"
26
27class QString;
28
29namespace 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:
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
This opens a project that's saved on disk.
Definition OpenProjectWorkOrder.h:56
void openProjectFromCommandLine(QString)
bool isExecutable(QString projectFileName, bool recentProject=false)
This function determines if the given project file name can be opened.
Definition OpenProjectWorkOrder.cpp:103
bool setupExecution()
Setup this WorkOrder for execution, deleting the progress bar, determine if there is a current projec...
Definition OpenProjectWorkOrder.cpp:120
void execute()
Open the chosen project folder.
Definition OpenProjectWorkOrder.cpp:175
virtual OpenProjectWorkOrder * clone() const
Clones the current OpenProjectWorkOrder.
Definition OpenProjectWorkOrder.cpp:92
~OpenProjectWorkOrder()
Destructor.
Definition OpenProjectWorkOrder.cpp:82
void setRecent(bool isRecent)
OpenProjectWorkOrder(Project *project)
Constructs an OpenProjectWorkOrder.
Definition OpenProjectWorkOrder.cpp:47
The main project for ipce.
Definition Project.h:287
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition WorkOrder.cpp:1288
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16