KPlato::CalendarRemoveDayCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::CalendarRemoveDayCmd:

[legend]
List of all members.

Public Member Functions

 CalendarRemoveDayCmd (Part *part, Calendar *cal, const QDate &day, QString name=0)
void execute ()
void unexecute ()

Protected Attributes

Calendarm_cal
CalendarDaym_value
bool m_mine

Detailed Description

Definition at line 138 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::CalendarRemoveDayCmd::CalendarRemoveDayCmd ( Part part,
Calendar cal,
const QDate &  day,
QString  name = 0 
)

Definition at line 249 of file kptcommand.cc.

References KPlato::NamedCommand::addSchScheduled(), KPlato::Calendar::findDay(), KPlato::Part::getProject(), m_value, and KPlato::Node::schedules().


Member Function Documentation

void KPlato::CalendarRemoveDayCmd::execute (  ) 

Definition at line 264 of file kptcommand.cc.

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

void KPlato::CalendarRemoveDayCmd::unexecute (  ) 

Definition at line 272 of file kptcommand.cc.

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


Member Data Documentation

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

Definition at line 146 of file kptcommand.h.

Referenced by execute(), and unexecute().

CalendarDay* KPlato::CalendarRemoveDayCmd::m_value [protected]

Definition at line 147 of file kptcommand.h.

Referenced by CalendarRemoveDayCmd(), execute(), and unexecute().

bool KPlato::CalendarRemoveDayCmd::m_mine [protected]

Definition at line 148 of file kptcommand.h.

Referenced by execute(), and unexecute().


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