KPlato::CalendarDeleteCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::CalendarDeleteCmd:

[legend]
List of all members.

Public Member Functions

 CalendarDeleteCmd (Part *part, Calendar *cal, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Calendarm_cal

Detailed Description

Definition at line 87 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::CalendarDeleteCmd::CalendarDeleteCmd ( Part part,
Calendar cal,
QString  name = 0 
)

Definition at line 134 of file kptcommand.cc.

References KPlato::NamedCommand::addSchScheduled(), KPlato::Part::getProject(), and KPlato::Node::schedules().


Member Function Documentation

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().


Member Data Documentation

Calendar* KPlato::CalendarDeleteCmd::m_cal [private]

Definition at line 95 of file kptcommand.h.

Referenced by execute(), and unexecute().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:44 2006 for KPlato by  doxygen 1.5.1-p1