#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeModifyStartupAccountCmd:
Public Member Functions | |
| NodeModifyStartupAccountCmd (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 878 of file kptcommand.h.
| void KPlato::NodeModifyStartupAccountCmd::execute | ( | ) |
Definition at line 1808 of file kptcommand.cc.
References KPlato::Account::addStartup(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeStartup(), and KPlato::NamedCommand::setCommandType().
| void KPlato::NodeModifyStartupAccountCmd::unexecute | ( | ) |
Definition at line 1819 of file kptcommand.cc.
References KPlato::Account::addStartup(), m_newvalue, m_node, m_oldvalue, KPlato::Account::removeStartup(), and KPlato::NamedCommand::setCommandType().
Node& KPlato::NodeModifyStartupAccountCmd::m_node [private] |
Definition at line 887 of file kptcommand.h.
Referenced by execute(), NodeModifyStartupAccountCmd(), and unexecute().
Definition at line 888 of file kptcommand.h.
Referenced by execute(), NodeModifyStartupAccountCmd(), and unexecute().
1.5.1-p1