KPlato::NodeModifyRunningAccountCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyRunningAccountCmd:

[legend]
List of all members.

Public Member Functions

 NodeModifyRunningAccountCmd (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 865 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 1768 of file kptcommand.cc.

References m_newvalue, and m_oldvalue.


Member Function Documentation

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


Member Data Documentation

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

Definition at line 873 of file kptcommand.h.

Referenced by execute(), and unexecute().

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

Definition at line 874 of file kptcommand.h.

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

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

Definition at line 875 of file kptcommand.h.

Referenced by execute(), NodeModifyRunningAccountCmd(), 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