KPlato::NodeModifyShutdownAccountCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyShutdownAccountCmd:

[legend]
List of all members.

Public Member Functions

 NodeModifyShutdownAccountCmd (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 891 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 1831 of file kptcommand.cc.

References m_newvalue, and m_oldvalue.


Member Function Documentation

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


Member Data Documentation

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

Definition at line 899 of file kptcommand.h.

Referenced by execute(), and unexecute().

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

Definition at line 900 of file kptcommand.h.

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

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

Definition at line 901 of file kptcommand.h.

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