#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::RenameAccountCmd:
Public Member Functions | |
| RenameAccountCmd (Part *part, Account *account, QString value, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Account * | m_account |
| QString | m_oldvalue |
| QString | m_newvalue |
Definition at line 813 of file kptcommand.h.
| 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().
| 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().
Account* KPlato::RenameAccountCmd::m_account [private] |
QString KPlato::RenameAccountCmd::m_oldvalue [private] |
QString KPlato::RenameAccountCmd::m_newvalue [private] |
1.5.1-p1