control::OverviewShower Class Reference

Inheritance diagram for control::OverviewShower:
Inheritance graph
[legend]
Collaboration diagram for control::OverviewShower:
Collaboration graph
[legend]

List of all members.

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::TaskModeltasks
control::InvitationModelinvitations
control::UserModelusers
control::ReservationModelreservations
control::ResourceModelresources
control::ProjectModelprojects

Detailed Description

Definition at line 24 of file overviewshower.h.


Member Function Documentation

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.

Here is the call graph for this function:

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

Parameters:
data Pointer to TaskManagerData object
ui Pointer to a user interface
factory Pointer to a controller factory
See also:
domain::TaskManagerData, ui::UiInterface, ControllerFactory

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:07 2010 for MopTaskManager by  doxygen 1.6.3