KPlato::ProjectModifyConstraintCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ProjectModifyConstraintCmd:

[legend]
List of all members.

Public Member Functions

 ProjectModifyConstraintCmd (Part *part, Project &node, Node::ConstraintType c, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Projectm_node
Node::ConstraintType newConstraint
Node::ConstraintType oldConstraint

Detailed Description

Definition at line 917 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::ProjectModifyConstraintCmd::ProjectModifyConstraintCmd ( Part part,
Project node,
Node::ConstraintType  c,
QString  name = 0 
)

Definition at line 1885 of file kptcommand.cc.

References KPlato::NamedCommand::addSchScheduled(), and KPlato::Node::schedules().


Member Function Documentation

void KPlato::ProjectModifyConstraintCmd::execute (  ) 

Definition at line 1896 of file kptcommand.cc.

References m_node, newConstraint, KPlato::NamedCommand::setCommandType(), KPlato::Node::setConstraint(), and KPlato::NamedCommand::setSchScheduled().

void KPlato::ProjectModifyConstraintCmd::unexecute (  ) 

Definition at line 1902 of file kptcommand.cc.

References m_node, oldConstraint, KPlato::NamedCommand::setCommandType(), KPlato::Node::setConstraint(), and KPlato::NamedCommand::setSchScheduled().


Member Data Documentation

Project& KPlato::ProjectModifyConstraintCmd::m_node [private]

Definition at line 925 of file kptcommand.h.

Referenced by execute(), and unexecute().

Node::ConstraintType KPlato::ProjectModifyConstraintCmd::newConstraint [private]

Definition at line 926 of file kptcommand.h.

Referenced by execute().

Node::ConstraintType KPlato::ProjectModifyConstraintCmd::oldConstraint [private]

Definition at line 927 of file kptcommand.h.

Referenced by unexecute().


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