KPlato::CalendarModifyWeekdayCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::CalendarModifyWeekdayCmd:

[legend]
List of all members.

Public Member Functions

 CalendarModifyWeekdayCmd (Part *part, Calendar *cal, int weekday, CalendarDay *value, QString name=0)
 ~CalendarModifyWeekdayCmd ()
void execute ()
void unexecute ()

Private Attributes

int m_weekday
Calendarm_cal
CalendarDaym_value
bool m_mine

Detailed Description

Definition at line 166 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::CalendarModifyWeekdayCmd::CalendarModifyWeekdayCmd ( Part part,
Calendar cal,
int  weekday,
CalendarDay value,
QString  name = 0 
)

Definition at line 325 of file kptcommand.cc.

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

KPlato::CalendarModifyWeekdayCmd::~CalendarModifyWeekdayCmd (  ) 

Definition at line 341 of file kptcommand.cc.

References m_value, and m_weekday.


Member Function Documentation

void KPlato::CalendarModifyWeekdayCmd::execute (  ) 

Definition at line 347 of file kptcommand.cc.

References m_cal, m_value, m_weekday, KPlato::CalendarWeekdays::replace(), KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::Calendar::weekdays().

void KPlato::CalendarModifyWeekdayCmd::unexecute (  ) 

Definition at line 353 of file kptcommand.cc.

References m_cal, m_value, m_weekday, KPlato::CalendarWeekdays::replace(), KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::Calendar::weekdays().


Member Data Documentation

int KPlato::CalendarModifyWeekdayCmd::m_weekday [private]

Definition at line 175 of file kptcommand.h.

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

Calendar* KPlato::CalendarModifyWeekdayCmd::m_cal [private]

Definition at line 176 of file kptcommand.h.

Referenced by execute(), and unexecute().

CalendarDay* KPlato::CalendarModifyWeekdayCmd::m_value [private]

Definition at line 177 of file kptcommand.h.

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

bool KPlato::CalendarModifyWeekdayCmd::m_mine [private]

Definition at line 178 of file kptcommand.h.


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