KPlato::NodeModifyEndTimeCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyEndTimeCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Nodem_node
QDateTime newTime
QDateTime oldTime

Detailed Description

Definition at line 322 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::NodeModifyEndTimeCmd::NodeModifyEndTimeCmd ( Part part,
Node node,
QDateTime  dt,
QString  name = 0 
)

Definition at line 665 of file kptcommand.cc.


Member Function Documentation

void KPlato::NodeModifyEndTimeCmd::execute (  ) 

Definition at line 672 of file kptcommand.cc.

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

void KPlato::NodeModifyEndTimeCmd::unexecute (  ) 

Definition at line 678 of file kptcommand.cc.

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


Member Data Documentation

Node& KPlato::NodeModifyEndTimeCmd::m_node [private]

Definition at line 330 of file kptcommand.h.

Referenced by execute(), and unexecute().

QDateTime KPlato::NodeModifyEndTimeCmd::newTime [private]

Definition at line 331 of file kptcommand.h.

Referenced by execute().

QDateTime KPlato::NodeModifyEndTimeCmd::oldTime [private]

Definition at line 332 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:45 2006 for KPlato by  doxygen 1.5.1-p1