KPlato::CalendarModifyNameCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::CalendarModifyNameCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Calendarm_cal
QString m_newvalue
QString m_oldvalue

Detailed Description

Definition at line 98 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 161 of file kptcommand.cc.

References m_newvalue, m_oldvalue, and KPlato::Calendar::name().


Member Function Documentation

void KPlato::CalendarModifyNameCmd::execute (  ) 

Definition at line 170 of file kptcommand.cc.

References m_cal, m_newvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Calendar::setName().

void KPlato::CalendarModifyNameCmd::unexecute (  ) 

Definition at line 176 of file kptcommand.cc.

References m_cal, m_oldvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Calendar::setName().


Member Data Documentation

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

Definition at line 106 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::CalendarModifyNameCmd::m_newvalue [private]

Definition at line 107 of file kptcommand.h.

Referenced by CalendarModifyNameCmd(), and execute().

QString KPlato::CalendarModifyNameCmd::m_oldvalue [private]

Definition at line 108 of file kptcommand.h.

Referenced by CalendarModifyNameCmd(), 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