KPlato::CalendarAddDayCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::CalendarAddDayCmd:

[legend]
List of all members.

Public Member Functions

 CalendarAddDayCmd (Part *part, Calendar *cal, CalendarDay *newvalue, QString name=0)
 ~CalendarAddDayCmd ()
void execute ()
void unexecute ()

Protected Attributes

Calendarm_cal
CalendarDaym_newvalue
bool m_mine

Detailed Description

Definition at line 124 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::CalendarAddDayCmd::CalendarAddDayCmd ( Part part,
Calendar cal,
CalendarDay newvalue,
QString  name = 0 
)

Definition at line 211 of file kptcommand.cc.

References KPlato::NamedCommand::addSchScheduled(), KPlato::Part::getProject(), m_newvalue, and KPlato::Node::schedules().

KPlato::CalendarAddDayCmd::~CalendarAddDayCmd (  ) 

Definition at line 226 of file kptcommand.cc.

References m_mine, and m_newvalue.


Member Function Documentation

void KPlato::CalendarAddDayCmd::execute (  ) 

Definition at line 232 of file kptcommand.cc.

References KPlato::Calendar::addDay(), m_cal, m_mine, m_newvalue, KPlato::NamedCommand::setCommandType(), and KPlato::NamedCommand::setSchScheduled().

void KPlato::CalendarAddDayCmd::unexecute (  ) 

Definition at line 240 of file kptcommand.cc.

References m_cal, m_mine, m_newvalue, KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::Calendar::takeDay().


Member Data Documentation

Calendar* KPlato::CalendarAddDayCmd::m_cal [protected]

Definition at line 133 of file kptcommand.h.

Referenced by execute(), and unexecute().

CalendarDay* KPlato::CalendarAddDayCmd::m_newvalue [protected]

Definition at line 134 of file kptcommand.h.

Referenced by CalendarAddDayCmd(), execute(), unexecute(), and ~CalendarAddDayCmd().

bool KPlato::CalendarAddDayCmd::m_mine [protected]

Definition at line 135 of file kptcommand.h.

Referenced by execute(), unexecute(), and ~CalendarAddDayCmd().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:44 2006 for KPlato by  doxygen 1.5.1-p1