KPlato::NodeMoveUpCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeMoveUpCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Nodem_node
Projectm_project
bool m_moved

Detailed Description

Definition at line 373 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::NodeMoveUpCmd::NodeMoveUpCmd ( Part part,
Node node,
QString  name = 0 
)

Definition at line 762 of file kptcommand.cc.

References m_node, m_project, and KPlato::Node::projectNode().


Member Function Documentation

void KPlato::NodeMoveUpCmd::execute (  ) 

Definition at line 770 of file kptcommand.cc.

References m_moved, m_node, m_project, KPlato::Project::moveTaskUp(), and KPlato::NamedCommand::setCommandType().

void KPlato::NodeMoveUpCmd::unexecute (  ) 

Definition at line 778 of file kptcommand.cc.

References m_moved, m_node, m_project, KPlato::Project::moveTaskDown(), and KPlato::NamedCommand::setCommandType().


Member Data Documentation

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

Definition at line 381 of file kptcommand.h.

Referenced by execute(), NodeMoveUpCmd(), and unexecute().

Project* KPlato::NodeMoveUpCmd::m_project [private]

Definition at line 382 of file kptcommand.h.

Referenced by execute(), NodeMoveUpCmd(), and unexecute().

bool KPlato::NodeMoveUpCmd::m_moved [private]

Definition at line 383 of file kptcommand.h.

Referenced by execute(), and unexecute().


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