Public Member Functions | |
ActionType | actionType () const |
DataType | dataType () const |
QString | description () const |
QString | name () const |
void | init (domain::TaskManagerData *data, ui::UiInterface *ui, ControllerFactory *factory) |
Private Member Functions | |
void | execute () |
void | execute (const domain::StorableData *) |
bool | userIsValid () const |
Private Attributes | |
ControllerInterface * | taskRemover |
Definition at line 12 of file projectremover.h.
ControllerInterface::ActionType ProjectRemover::actionType | ( | ) | const [virtual] |
Returns the action type of the controller
Implements control::ControllerInterface.
Definition at line 20 of file projectremover.cpp.
ControllerInterface::DataType ProjectRemover::dataType | ( | ) | const [virtual] |
Returns the data type on which the controller acts
Implements control::ControllerInterface.
Definition at line 25 of file projectremover.cpp.
QString ProjectRemover::description | ( | ) | const [virtual] |
Returns the description of the controller
Implements control::ControllerInterface.
Definition at line 15 of file projectremover.cpp.
void ProjectRemover::execute | ( | const domain::StorableData * | data | ) | [private, virtual] |
Executes a use case for a given object
data | Data that has to be executed |
Reimplemented from control::ControllerInterface.
Definition at line 71 of file projectremover.cpp.
void ProjectRemover::execute | ( | ) | [private, virtual] |
Executes a whole use case
Implements control::ControllerInterface.
Definition at line 40 of file projectremover.cpp.
void ProjectRemover::init | ( | domain::TaskManagerData * | data, | |
ui::UiInterface * | ui, | |||
ControllerFactory * | factory | |||
) | [virtual] |
Initiates the controller with a pointer to a TaskManagerData object, a user interface and a controller factory
data | Pointer to TaskManagerData object | |
ui | Pointer to a user interface | |
factory | Pointer to a controller factory |
Reimplemented from control::ControllerInterface.
Definition at line 95 of file projectremover.cpp.
QString ProjectRemover::name | ( | ) | const [virtual] |
Returns the name of the controller
Implements control::ControllerInterface.
Definition at line 30 of file projectremover.cpp.