#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::CalendarModifyWeekdayCmd:
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 |
| Calendar * | m_cal |
| CalendarDay * | m_value |
| bool | m_mine |
Definition at line 166 of file kptcommand.h.
| 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 | ( | ) |
| 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().
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 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.
1.5.1-p1