KPlato::NodeModifyStartupAccountCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyStartupAccountCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Nodem_node
Accountm_oldvalue
Accountm_newvalue

Detailed Description

Definition at line 878 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::NodeModifyStartupAccountCmd::NodeModifyStartupAccountCmd ( Part part,
Node node,
Account oldvalue,
Account newvalue,
QString  name = 0 
)

Definition at line 1799 of file kptcommand.cc.

References m_newvalue, and m_oldvalue.


Member Function Documentation

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().


Member Data Documentation

Node& KPlato::NodeModifyStartupAccountCmd::m_node [private]

Definition at line 886 of file kptcommand.h.

Referenced by execute(), and unexecute().

Account* KPlato::NodeModifyStartupAccountCmd::m_oldvalue [private]

Definition at line 887 of file kptcommand.h.

Referenced by execute(), NodeModifyStartupAccountCmd(), and unexecute().

Account* KPlato::NodeModifyStartupAccountCmd::m_newvalue [private]

Definition at line 888 of file kptcommand.h.

Referenced by execute(), NodeModifyStartupAccountCmd(), and unexecute().


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