Public Member Functions | |
QString | description () const |
QString | name () const |
DataType | dataType () const |
ActionType | actionType () const |
void | init (domain::TaskManagerData *data, ui::UiInterface *ui, ControllerFactory *factory) |
Private Member Functions | |
void | execute () |
bool | userIsValid () const |
Private Attributes | |
DataSaverPrivate * | d |
Definition at line 11 of file datasaver.h.
ControllerInterface::ActionType DataSaver::actionType | ( | ) | const [virtual] |
Returns the action type of the controller
Implements control::ControllerInterface.
Definition at line 39 of file datasaver.cpp.
ControllerInterface::DataType DataSaver::dataType | ( | ) | const [virtual] |
Returns the data type on which the controller acts
Implements control::ControllerInterface.
Definition at line 44 of file datasaver.cpp.
QString DataSaver::description | ( | ) | const [virtual] |
Returns the description of the controller
Implements control::ControllerInterface.
Definition at line 54 of file datasaver.cpp.
void DataSaver::execute | ( | ) | [private, virtual] |
Executes a whole use case
Implements control::ControllerInterface.
Definition at line 72 of file datasaver.cpp.
void DataSaver::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 59 of file datasaver.cpp.
QString DataSaver::name | ( | ) | const [virtual] |
Returns the name of the controller
Implements control::ControllerInterface.
Definition at line 49 of file datasaver.cpp.