#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::CalendarModifyDayCmd:
Public Member Functions | |
| CalendarModifyDayCmd (Part *part, Calendar *cal, CalendarDay *value, QString name=0) | |
| ~CalendarModifyDayCmd () | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Calendar * | m_cal |
| CalendarDay * | m_newvalue |
| CalendarDay * | m_oldvalue |
| bool | m_mine |
Definition at line 151 of file kptcommand.h.
| KPlato::CalendarModifyDayCmd::CalendarModifyDayCmd | ( | Part * | part, | |
| Calendar * | cal, | |||
| CalendarDay * | value, | |||
| QString | name = 0 | |||
| ) |
Definition at line 281 of file kptcommand.cc.
References KPlato::NamedCommand::addSchScheduled(), KPlato::CalendarDay::date(), KPlato::Calendar::findDay(), KPlato::Part::getProject(), m_newvalue, m_oldvalue, and KPlato::Node::schedules().
| KPlato::CalendarModifyDayCmd::~CalendarModifyDayCmd | ( | ) |
| void KPlato::CalendarModifyDayCmd::execute | ( | ) |
Definition at line 306 of file kptcommand.cc.
References KPlato::Calendar::addDay(), m_cal, m_mine, m_newvalue, m_oldvalue, KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::Calendar::takeDay().
| void KPlato::CalendarModifyDayCmd::unexecute | ( | ) |
Definition at line 315 of file kptcommand.cc.
References KPlato::Calendar::addDay(), m_cal, m_mine, m_newvalue, m_oldvalue, KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::Calendar::takeDay().
Calendar* KPlato::CalendarModifyDayCmd::m_cal [private] |
Definition at line 161 of file kptcommand.h.
Referenced by CalendarModifyDayCmd(), execute(), unexecute(), and ~CalendarModifyDayCmd().
Definition at line 162 of file kptcommand.h.
Referenced by CalendarModifyDayCmd(), execute(), unexecute(), and ~CalendarModifyDayCmd().
bool KPlato::CalendarModifyDayCmd::m_mine [private] |
Definition at line 163 of file kptcommand.h.
Referenced by execute(), unexecute(), and ~CalendarModifyDayCmd().
1.5.1-p1