1#ifndef RenameProjectWorkOrder_H
2#define RenameProjectWorkOrder_H
The main project for ipce.
Definition Project.h:289
Change the project's GUI name.
Definition RenameProjectWorkOrder.h:41
virtual bool isExecutable(Context context)
This method returns true if the user clicked on the project name on the project tree,...
Definition RenameProjectWorkOrder.cpp:119
static bool isNameValid(QString nameToCheck)
Check the validity of the given (proposed) project name.
Definition RenameProjectWorkOrder.cpp:170
virtual bool setupExecution()
Setup this WorkOrder for execution.
Definition RenameProjectWorkOrder.cpp:131
RenameProjectWorkOrder(QString newName, Project *project)
Creates a work order to rename the project using the given new project name.
Definition RenameProjectWorkOrder.cpp:44
virtual RenameProjectWorkOrder * clone() const
This method clones the current RenameProjectWorkOrder and returns it.
Definition RenameProjectWorkOrder.cpp:103
virtual void undoExecution()
Changes the project name back to the old name.
Definition RenameProjectWorkOrder.cpp:207
~RenameProjectWorkOrder()
Destructor.
Definition RenameProjectWorkOrder.cpp:94
bool dependsOn(WorkOrder *other) const
This WorkOrder is only dependent on another RenameProjectWorkOrder.
Definition RenameProjectWorkOrder.cpp:183
virtual void execute()
This will rename the project.
Definition RenameProjectWorkOrder.cpp:193
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:1298
Context
This enumeration is for recording the context of the current Workorder (whether it is part of a proje...
Definition WorkOrder.h:339
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16