KPlato::ModifyResourceEmailCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ModifyResourceEmailCmd:

[legend]
List of all members.

Public Member Functions

 ModifyResourceEmailCmd (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 630 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 1298 of file kptcommand.cc.

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


Member Function Documentation

void KPlato::ModifyResourceEmailCmd::execute (  ) 

Definition at line 1305 of file kptcommand.cc.

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

void KPlato::ModifyResourceEmailCmd::unexecute (  ) 

Definition at line 1311 of file kptcommand.cc.

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


Member Data Documentation

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

Definition at line 638 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::ModifyResourceEmailCmd::m_newvalue [private]

Definition at line 639 of file kptcommand.h.

Referenced by execute().

QString KPlato::ModifyResourceEmailCmd::m_oldvalue [private]

Definition at line 640 of file kptcommand.h.

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