#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::CalendarAddCmd:
Public Member Functions | |
CalendarAddCmd (Part *part, Project *project, Calendar *cal, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Project * | m_project |
Calendar * | m_cal |
bool | m_added |
Definition at line 74 of file kptcommand.h.
void KPlato::CalendarAddCmd::execute | ( | ) |
Definition at line 114 of file kptcommand.cc.
References KPlato::Project::addCalendar(), m_added, m_cal, m_project, KPlato::NamedCommand::setCommandType(), and KPlato::Calendar::setDeleted().
void KPlato::CalendarAddCmd::unexecute | ( | ) |
Definition at line 126 of file kptcommand.cc.
References m_cal, KPlato::NamedCommand::setCommandType(), and KPlato::Calendar::setDeleted().
Project* KPlato::CalendarAddCmd::m_project [private] |
Calendar* KPlato::CalendarAddCmd::m_cal [private] |
bool KPlato::CalendarAddCmd::m_added [private] |