KPlato::ProjectModifyStartTimeCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::ProjectModifyStartTimeCmd:

[legend]
List of all members.

Public Member Functions

 ProjectModifyStartTimeCmd (Part *part, Project &node, QDateTime dt, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Projectm_node
QDateTime newTime
QDateTime oldTime

Detailed Description

Definition at line 931 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::ProjectModifyStartTimeCmd::ProjectModifyStartTimeCmd ( Part part,
Project node,
QDateTime  dt,
QString  name = 0 
)

Definition at line 1909 of file kptcommand.cc.

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


Member Function Documentation

void KPlato::ProjectModifyStartTimeCmd::execute (  ) 

Definition at line 1921 of file kptcommand.cc.

References m_node, newTime, KPlato::NamedCommand::setCommandType(), KPlato::Node::setConstraintStartTime(), and KPlato::NamedCommand::setSchScheduled().

void KPlato::ProjectModifyStartTimeCmd::unexecute (  ) 

Definition at line 1927 of file kptcommand.cc.

References m_node, oldTime, KPlato::NamedCommand::setCommandType(), KPlato::Node::setConstraintStartTime(), and KPlato::NamedCommand::setSchScheduled().


Member Data Documentation

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

Definition at line 939 of file kptcommand.h.

Referenced by execute(), and unexecute().

QDateTime KPlato::ProjectModifyStartTimeCmd::newTime [private]

Definition at line 940 of file kptcommand.h.

Referenced by execute().

QDateTime KPlato::ProjectModifyStartTimeCmd::oldTime [private]

Definition at line 941 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