#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::ModifyEffortCmd:
Public Member Functions | |
| ModifyEffortCmd (Part *part, Node &node, Duration oldvalue, Duration newvalue, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Effort * | m_effort |
| Duration | m_oldvalue |
| Duration | m_newvalue |
Definition at line 485 of file kptcommand.h.
| KPlato::ModifyEffortCmd::ModifyEffortCmd | ( | Part * | part, | |
| Node & | node, | |||
| Duration | oldvalue, | |||
| Duration | newvalue, | |||
| QString | name = 0 | |||
| ) |
Definition at line 1002 of file kptcommand.cc.
References KPlato::NamedCommand::addSchScheduled(), and KPlato::Node::schedules().
| void KPlato::ModifyEffortCmd::execute | ( | ) |
Definition at line 1013 of file kptcommand.cc.
References m_effort, m_newvalue, KPlato::Effort::set(), KPlato::NamedCommand::setCommandType(), and KPlato::NamedCommand::setSchScheduled().
| void KPlato::ModifyEffortCmd::unexecute | ( | ) |
Definition at line 1020 of file kptcommand.cc.
References m_effort, m_oldvalue, KPlato::Effort::set(), KPlato::NamedCommand::setCommandType(), and KPlato::NamedCommand::setSchScheduled().
Effort* KPlato::ModifyEffortCmd::m_effort [private] |
Duration KPlato::ModifyEffortCmd::m_oldvalue [private] |
Duration KPlato::ModifyEffortCmd::m_newvalue [private] |
1.5.1-p1