#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::CalendarModifyParentCmd:
Public Member Functions | |
| CalendarModifyParentCmd (Part *part, Calendar *cal, Calendar *newvalue, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Calendar * | m_cal |
| Calendar * | m_newvalue |
| Calendar * | m_oldvalue |
Definition at line 111 of file kptcommand.h.
| KPlato::CalendarModifyParentCmd::CalendarModifyParentCmd | ( | Part * | part, | |
| Calendar * | cal, | |||
| Calendar * | newvalue, | |||
| QString | name = 0 | |||
| ) |
Definition at line 183 of file kptcommand.cc.
References KPlato::NamedCommand::addSchScheduled(), KPlato::Part::getProject(), m_newvalue, m_oldvalue, KPlato::Calendar::parent(), and KPlato::Node::schedules().
| void KPlato::CalendarModifyParentCmd::execute | ( | ) |
Definition at line 198 of file kptcommand.cc.
References m_cal, m_newvalue, KPlato::NamedCommand::setCommandType(), KPlato::Calendar::setParent(), and KPlato::NamedCommand::setSchScheduled().
| void KPlato::CalendarModifyParentCmd::unexecute | ( | ) |
Definition at line 204 of file kptcommand.cc.
References m_cal, m_oldvalue, KPlato::NamedCommand::setCommandType(), KPlato::Calendar::setParent(), and KPlato::NamedCommand::setSchScheduled().
Calendar* KPlato::CalendarModifyParentCmd::m_cal [private] |
Definition at line 120 of file kptcommand.h.
Referenced by CalendarModifyParentCmd(), and execute().
Definition at line 121 of file kptcommand.h.
Referenced by CalendarModifyParentCmd(), and unexecute().
1.5.1-p1