Public Member Functions | |
ActionType | actionType () const |
DataType | dataType () const |
QString | description () const |
QString | name () const |
bool | userCanExecute () const |
void | init (domain::TaskManagerData *data, ui::UiInterface *ui, ControllerFactory *factory) |
Private Member Functions | |
void | execute () |
bool | userIsValid () const |
Private Attributes | |
control::TaskModel * | tasks |
control::InvitationModel * | invitations |
control::UserModel * | users |
control::ReservationModel * | reservations |
control::ResourceModel * | resources |
control::ProjectModel * | projects |
Definition at line 24 of file overviewshower.h.
ControllerInterface::ActionType OverviewShower::actionType | ( | ) | const [virtual] |
Returns the action type of the controller
Implements control::ControllerInterface.
Definition at line 26 of file overviewshower.cpp.
ControllerInterface::DataType OverviewShower::dataType | ( | ) | const [virtual] |
Returns the data type on which the controller acts
Implements control::ControllerInterface.
Definition at line 31 of file overviewshower.cpp.
QString OverviewShower::description | ( | ) | const [virtual] |
Returns the description of the controller
Implements control::ControllerInterface.
Definition at line 36 of file overviewshower.cpp.
void OverviewShower::execute | ( | ) | [private, virtual] |
Executes a whole use case
Implements control::ControllerInterface.
Definition at line 70 of file overviewshower.cpp.
void OverviewShower::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 57 of file overviewshower.cpp.
QString OverviewShower::name | ( | ) | const [virtual] |
Returns the name of the controller
Implements control::ControllerInterface.
Definition at line 41 of file overviewshower.cpp.
bool OverviewShower::userCanExecute | ( | ) | const [virtual] |
Indicates whether the user should be able to execute this use case directly (ie wether it should show up in a menu).
Reimplemented from control::ControllerInterface.
Definition at line 52 of file overviewshower.cpp.