#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeModifyShutdownAccountCmd:
Public Member Functions | |
| NodeModifyShutdownAccountCmd (Part *part, Node &node, Account *oldvalue, Account *newvalue, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Node & | m_node |
| Account * | m_oldvalue |
| Account * | m_newvalue |
Definition at line 891 of file kptcommand.h.
| void KPlato::NodeModifyShutdownAccountCmd::execute | ( | ) |
Definition at line 1840 of file kptcommand.cc.
References KPlato::Account::addShutdown(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeShutdown(), and KPlato::NamedCommand::setCommandType().
| void KPlato::NodeModifyShutdownAccountCmd::unexecute | ( | ) |
Definition at line 1851 of file kptcommand.cc.
References KPlato::Account::addShutdown(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeShutdown(), and KPlato::NamedCommand::setCommandType().
Node& KPlato::NodeModifyShutdownAccountCmd::m_node [private] |
Definition at line 900 of file kptcommand.h.
Referenced by execute(), NodeModifyShutdownAccountCmd(), and unexecute().
Definition at line 901 of file kptcommand.h.
Referenced by execute(), NodeModifyShutdownAccountCmd(), and unexecute().
1.5.1-p1