KPlato::RenameAccountCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::RenameAccountCmd:

[legend]
List of all members.

Public Member Functions

 RenameAccountCmd (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 813 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 1691 of file kptcommand.cc.

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


Member Function Documentation

void KPlato::RenameAccountCmd::execute (  ) 

Definition at line 1699 of file kptcommand.cc.

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

void KPlato::RenameAccountCmd::unexecute (  ) 

Definition at line 1704 of file kptcommand.cc.

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


Member Data Documentation

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

Definition at line 821 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::RenameAccountCmd::m_oldvalue [private]

Definition at line 822 of file kptcommand.h.

Referenced by RenameAccountCmd(), and unexecute().

QString KPlato::RenameAccountCmd::m_newvalue [private]

Definition at line 823 of file kptcommand.h.

Referenced by execute(), and RenameAccountCmd().


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