#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeModifyRunningAccountCmd:
Public Member Functions | |
NodeModifyRunningAccountCmd (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 865 of file kptcommand.h.
void KPlato::NodeModifyRunningAccountCmd::execute | ( | ) |
Definition at line 1776 of file kptcommand.cc.
References KPlato::Account::addRunning(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeRunning(), and KPlato::NamedCommand::setCommandType().
void KPlato::NodeModifyRunningAccountCmd::unexecute | ( | ) |
Definition at line 1787 of file kptcommand.cc.
References KPlato::Account::addRunning(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeRunning(), and KPlato::NamedCommand::setCommandType().
Node& KPlato::NodeModifyRunningAccountCmd::m_node [private] |
Definition at line 874 of file kptcommand.h.
Referenced by execute(), NodeModifyRunningAccountCmd(), and unexecute().
Definition at line 875 of file kptcommand.h.
Referenced by execute(), NodeModifyRunningAccountCmd(), and unexecute().