#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::ModifyResourceGroupNameCmd:
Public Member Functions | |
| ModifyResourceGroupNameCmd (Part *part, ResourceGroup *group, QString value, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| ResourceGroup * | m_group |
| QString | m_newvalue |
| QString | m_oldvalue |
Definition at line 752 of file kptcommand.h.
| KPlato::ModifyResourceGroupNameCmd::ModifyResourceGroupNameCmd | ( | Part * | part, | |
| ResourceGroup * | group, | |||
| QString | value, | |||
| QString | name = 0 | |||
| ) |
Definition at line 1560 of file kptcommand.cc.
References m_oldvalue, and KPlato::ResourceGroup::name().
| void KPlato::ModifyResourceGroupNameCmd::execute | ( | ) |
Definition at line 1567 of file kptcommand.cc.
References m_group, m_newvalue, KPlato::NamedCommand::setCommandType(), and KPlato::ResourceGroup::setName().
| void KPlato::ModifyResourceGroupNameCmd::unexecute | ( | ) |
Definition at line 1573 of file kptcommand.cc.
References m_group, m_oldvalue, KPlato::NamedCommand::setCommandType(), and KPlato::ResourceGroup::setName().
QString KPlato::ModifyResourceGroupNameCmd::m_newvalue [private] |
QString KPlato::ModifyResourceGroupNameCmd::m_oldvalue [private] |
Definition at line 762 of file kptcommand.h.
Referenced by ModifyResourceGroupNameCmd(), and unexecute().
1.5.1-p1