#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::CalendarDeleteCmd:
Public Member Functions | |
CalendarDeleteCmd (Part *part, Calendar *cal, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Calendar * | m_cal |
Definition at line 87 of file kptcommand.h.
Definition at line 134 of file kptcommand.cc.
References KPlato::NamedCommand::addSchScheduled(), KPlato::Part::getProject(), and KPlato::Node::schedules().
void KPlato::CalendarDeleteCmd::execute | ( | ) |
Definition at line 147 of file kptcommand.cc.
References m_cal, KPlato::NamedCommand::setCommandType(), KPlato::Calendar::setDeleted(), and KPlato::NamedCommand::setSchScheduled().
void KPlato::CalendarDeleteCmd::unexecute | ( | ) |
Definition at line 154 of file kptcommand.cc.
References m_cal, KPlato::NamedCommand::setCommandType(), KPlato::Calendar::setDeleted(), and KPlato::NamedCommand::setSchScheduled().
Calendar* KPlato::CalendarDeleteCmd::m_cal [private] |