#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::ModifyResourceEmailCmd:
Public Member Functions | |
| ModifyResourceEmailCmd (Part *part, Resource *resource, QString value, QString name=0) | |
| void | execute () |
| void | unexecute () |
Private Attributes | |
| Resource * | m_resource |
| QString | m_newvalue |
| QString | m_oldvalue |
Definition at line 630 of file kptcommand.h.
| KPlato::ModifyResourceEmailCmd::ModifyResourceEmailCmd | ( | Part * | part, | |
| Resource * | resource, | |||
| QString | value, | |||
| QString | name = 0 | |||
| ) |
Definition at line 1298 of file kptcommand.cc.
References KPlato::Resource::email(), and m_oldvalue.
| void KPlato::ModifyResourceEmailCmd::execute | ( | ) |
Definition at line 1305 of file kptcommand.cc.
References m_newvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setEmail().
| void KPlato::ModifyResourceEmailCmd::unexecute | ( | ) |
Definition at line 1311 of file kptcommand.cc.
References m_oldvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setEmail().
QString KPlato::ModifyResourceEmailCmd::m_newvalue [private] |
QString KPlato::ModifyResourceEmailCmd::m_oldvalue [private] |
Definition at line 640 of file kptcommand.h.
Referenced by ModifyResourceEmailCmd(), and unexecute().
1.5.1-p1