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 *data) |
bool | userIsValid () const |
void | showTaskList () |
Private Attributes | |
QList< FocusInterface * > | focusStrategies |
ControllerInterface * | taskModifier |
ControllerInterface * | taskUpdater |
QList< domain::Task * > | currentTasks |
Definition at line 16 of file taskworker.h.
ControllerInterface::ActionType TaskWorker::actionType | ( | ) | const [virtual] |
Returns the action type of the controller
Implements control::ControllerInterface.
Definition at line 29 of file taskworker.cpp.
ControllerInterface::DataType TaskWorker::dataType | ( | ) | const [virtual] |
Returns the data type on which the controller acts
Implements control::ControllerInterface.
Definition at line 34 of file taskworker.cpp.
QString TaskWorker::description | ( | ) | const [virtual] |
Returns the description of the controller
Implements control::ControllerInterface.
Definition at line 39 of file taskworker.cpp.
void TaskWorker::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 85 of file taskworker.cpp.
void TaskWorker::execute | ( | ) | [private, virtual] |
Executes a whole use case
Implements control::ControllerInterface.
Definition at line 54 of file taskworker.cpp.
void TaskWorker::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 164 of file taskworker.cpp.
QString TaskWorker::name | ( | ) | const [virtual] |
Returns the name of the controller
Implements control::ControllerInterface.
Definition at line 44 of file taskworker.cpp.