KPlato::ModifyResourceInitialsCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ModifyResourceInitialsCmd:

[legend]
List of all members.

Public Member Functions

 ModifyResourceInitialsCmd (Part *part, Resource *resource, QString value, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Resourcem_resource
QString m_newvalue
QString m_oldvalue

Detailed Description

Definition at line 618 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::ModifyResourceInitialsCmd::ModifyResourceInitialsCmd ( Part part,
Resource resource,
QString  value,
QString  name = 0 
)

Definition at line 1279 of file kptcommand.cc.

References KPlato::Resource::initials(), and m_oldvalue.


Member Function Documentation

void KPlato::ModifyResourceInitialsCmd::execute (  ) 

Definition at line 1286 of file kptcommand.cc.

References m_newvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setInitials().

void KPlato::ModifyResourceInitialsCmd::unexecute (  ) 

Definition at line 1292 of file kptcommand.cc.

References m_oldvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setInitials().


Member Data Documentation

Resource* KPlato::ModifyResourceInitialsCmd::m_resource [private]

Definition at line 626 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::ModifyResourceInitialsCmd::m_newvalue [private]

Definition at line 627 of file kptcommand.h.

Referenced by execute().

QString KPlato::ModifyResourceInitialsCmd::m_oldvalue [private]

Definition at line 628 of file kptcommand.h.

Referenced by ModifyResourceInitialsCmd(), and unexecute().


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