#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::ModifyResourceInitialsCmd:
Public Member Functions | |
ModifyResourceInitialsCmd (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 618 of file kptcommand.h.
KPlato::ModifyResourceInitialsCmd::ModifyResourceInitialsCmd | ( | Part * | part, | |
Resource * | resource, | |||
QString | value, | |||
QString | name = 0 | |||
) |
Definition at line 1279 of file kptcommand.cc.
References KPlato::Resource::initials(), and m_oldvalue.
void KPlato::ModifyResourceInitialsCmd::execute | ( | ) |
Definition at line 1286 of file kptcommand.cc.
References m_newvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setInitials().
void KPlato::ModifyResourceInitialsCmd::unexecute | ( | ) |
Definition at line 1292 of file kptcommand.cc.
References m_oldvalue, m_resource, KPlato::NamedCommand::setCommandType(), and KPlato::Resource::setInitials().
QString KPlato::ModifyResourceInitialsCmd::m_newvalue [private] |
QString KPlato::ModifyResourceInitialsCmd::m_oldvalue [private] |
Definition at line 628 of file kptcommand.h.
Referenced by ModifyResourceInitialsCmd(), and unexecute().