KPlato::ModifyResourceOvertimeRateCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ModifyResourceOvertimeRateCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Resourcem_resource
double m_newvalue
double m_oldvalue

Detailed Description

Definition at line 705 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 1455 of file kptcommand.cc.

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


Member Function Documentation

void KPlato::ModifyResourceOvertimeRateCmd::execute (  ) 

Definition at line 1462 of file kptcommand.cc.

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

void KPlato::ModifyResourceOvertimeRateCmd::unexecute (  ) 

Definition at line 1468 of file kptcommand.cc.

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


Member Data Documentation

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

Definition at line 713 of file kptcommand.h.

Referenced by execute(), and unexecute().

double KPlato::ModifyResourceOvertimeRateCmd::m_newvalue [private]

Definition at line 714 of file kptcommand.h.

Referenced by execute().

double KPlato::ModifyResourceOvertimeRateCmd::m_oldvalue [private]

Definition at line 715 of file kptcommand.h.

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