KPlato::TaskModifyProgressCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::TaskModifyProgressCmd:

[legend]
List of all members.

Public Member Functions

 TaskModifyProgressCmd (Part *part, Task &task, struct Task::Progress &value, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Taskm_task
Task::Progress m_newvalue
Task::Progress m_oldvalue

Detailed Description

Definition at line 765 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::TaskModifyProgressCmd::TaskModifyProgressCmd ( Part part,
Task task,
struct Task::Progress value,
QString  name = 0 
)

Definition at line 1580 of file kptcommand.cc.

References m_oldvalue, and KPlato::Task::progress().


Member Function Documentation

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().


Member Data Documentation

Task& KPlato::TaskModifyProgressCmd::m_task [private]

Definition at line 773 of file kptcommand.h.

Referenced by execute(), and unexecute().

struct Task::Progress KPlato::TaskModifyProgressCmd::m_newvalue [private]

Definition at line 774 of file kptcommand.h.

Referenced by execute().

struct Task::Progress KPlato::TaskModifyProgressCmd::m_oldvalue [private]

Definition at line 775 of file kptcommand.h.

Referenced by TaskModifyProgressCmd(), and unexecute().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:47 2006 for KPlato by  doxygen 1.5.1-p1