KPlato::EffortModifyRiskCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::EffortModifyRiskCmd:

[legend]
List of all members.

Public Member Functions

 EffortModifyRiskCmd (Part *part, Node &node, int oldvalue, int newvalue, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Effortm_effort
int m_oldvalue
int m_newvalue

Detailed Description

Definition at line 537 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::EffortModifyRiskCmd::EffortModifyRiskCmd ( Part part,
Node node,
int  oldvalue,
int  newvalue,
QString  name = 0 
)

Definition at line 1100 of file kptcommand.cc.

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


Member Function Documentation

void KPlato::EffortModifyRiskCmd::execute (  ) 

Definition at line 1111 of file kptcommand.cc.

References m_effort, m_newvalue, KPlato::NamedCommand::setCommandType(), KPlato::Effort::setRisktype(), and KPlato::NamedCommand::setSchScheduled().

void KPlato::EffortModifyRiskCmd::unexecute (  ) 

Definition at line 1117 of file kptcommand.cc.

References m_effort, m_oldvalue, KPlato::NamedCommand::setCommandType(), KPlato::Effort::setRisktype(), and KPlato::NamedCommand::setSchScheduled().


Member Data Documentation

Effort* KPlato::EffortModifyRiskCmd::m_effort [private]

Definition at line 545 of file kptcommand.h.

Referenced by execute(), and unexecute().

int KPlato::EffortModifyRiskCmd::m_oldvalue [private]

Definition at line 546 of file kptcommand.h.

Referenced by unexecute().

int KPlato::EffortModifyRiskCmd::m_newvalue [private]

Definition at line 546 of file kptcommand.h.

Referenced by execute().


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