#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::TaskModifyProgressCmd:
Public Member Functions | |
TaskModifyProgressCmd (Part *part, Task &task, struct Task::Progress &value, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Task & | m_task |
Task::Progress | m_newvalue |
Task::Progress | m_oldvalue |
Definition at line 765 of file kptcommand.h.
KPlato::TaskModifyProgressCmd::TaskModifyProgressCmd | ( | Part * | part, | |
Task & | task, | |||
struct Task::Progress & | value, | |||
QString | name = 0 | |||
) |
void KPlato::TaskModifyProgressCmd::execute | ( | ) |
Definition at line 1587 of file kptcommand.cc.
References m_newvalue, m_task, KPlato::Task::progress(), and KPlato::NamedCommand::setCommandType().
void KPlato::TaskModifyProgressCmd::unexecute | ( | ) |
Definition at line 1593 of file kptcommand.cc.
References m_oldvalue, m_task, KPlato::Task::progress(), and KPlato::NamedCommand::setCommandType().
Task& KPlato::TaskModifyProgressCmd::m_task [private] |
struct Task::Progress KPlato::TaskModifyProgressCmd::m_newvalue [private] |
struct Task::Progress KPlato::TaskModifyProgressCmd::m_oldvalue [private] |
Definition at line 775 of file kptcommand.h.
Referenced by TaskModifyProgressCmd(), and unexecute().