KPlato::ModifyAccountDescriptionCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ModifyAccountDescriptionCmd:

[legend]
List of all members.

Public Member Functions

 ModifyAccountDescriptionCmd (Part *part, Account *account, QString value, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Accountm_account
QString m_oldvalue
QString m_newvalue

Detailed Description

Definition at line 826 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::ModifyAccountDescriptionCmd::ModifyAccountDescriptionCmd ( Part part,
Account account,
QString  value,
QString  name = 0 
)

Definition at line 1710 of file kptcommand.cc.

References KPlato::Account::description(), m_newvalue, and m_oldvalue.


Member Function Documentation

void KPlato::ModifyAccountDescriptionCmd::execute (  ) 

Definition at line 1718 of file kptcommand.cc.

References m_account, m_newvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Account::setDescription().

void KPlato::ModifyAccountDescriptionCmd::unexecute (  ) 

Definition at line 1723 of file kptcommand.cc.

References m_account, m_oldvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Account::setDescription().


Member Data Documentation

Account* KPlato::ModifyAccountDescriptionCmd::m_account [private]

Definition at line 834 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::ModifyAccountDescriptionCmd::m_oldvalue [private]

Definition at line 835 of file kptcommand.h.

Referenced by ModifyAccountDescriptionCmd(), and unexecute().

QString KPlato::ModifyAccountDescriptionCmd::m_newvalue [private]

Definition at line 836 of file kptcommand.h.

Referenced by execute(), and ModifyAccountDescriptionCmd().


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