#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::ModifyDefaultAccountCmd:
Public Member Functions | |
ModifyDefaultAccountCmd (Part *part, Accounts &acc, Account *oldvalue, Account *newvalue, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Accounts & | m_accounts |
Account * | m_oldvalue |
Account * | m_newvalue |
Definition at line 904 of file kptcommand.h.
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().
Definition at line 913 of file kptcommand.h.
Referenced by ModifyDefaultAccountCmd(), and unexecute().
Definition at line 914 of file kptcommand.h.
Referenced by execute(), and ModifyDefaultAccountCmd().