KPlato::ModifyDefaultAccountCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ModifyDefaultAccountCmd:

[legend]
List of all members.

Public Member Functions

 ModifyDefaultAccountCmd (Part *part, Accounts &acc, Account *oldvalue, Account *newvalue, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Accountsm_accounts
Accountm_oldvalue
Accountm_newvalue

Detailed Description

Definition at line 904 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::ModifyDefaultAccountCmd::ModifyDefaultAccountCmd ( Part part,
Accounts acc,
Account oldvalue,
Account newvalue,
QString  name = 0 
)

Definition at line 1863 of file kptcommand.cc.

References m_newvalue, and m_oldvalue.


Member Function Documentation

void KPlato::ModifyDefaultAccountCmd::execute (  ) 

Definition at line 1872 of file kptcommand.cc.

References m_accounts, m_newvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Accounts::setDefaultAccount().

void KPlato::ModifyDefaultAccountCmd::unexecute (  ) 

Definition at line 1878 of file kptcommand.cc.

References m_accounts, m_oldvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Accounts::setDefaultAccount().


Member Data Documentation

Accounts& KPlato::ModifyDefaultAccountCmd::m_accounts [private]

Definition at line 912 of file kptcommand.h.

Referenced by execute(), and unexecute().

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

Definition at line 913 of file kptcommand.h.

Referenced by ModifyDefaultAccountCmd(), and unexecute().

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

Definition at line 914 of file kptcommand.h.

Referenced by execute(), and ModifyDefaultAccountCmd().


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