KPlato::NodeIndentCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeIndentCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Nodem_node
Nodem_oldparent
Nodem_newparent
int m_oldindex
int m_newindex

Detailed Description

Definition at line 347 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 705 of file kptcommand.cc.


Member Function Documentation

void KPlato::NodeIndentCmd::execute (  ) 

Definition at line 712 of file kptcommand.cc.

References KPlato::Node::findChildNode(), KPlato::Node::getParent(), KPlato::Project::indentTask(), m_newindex, m_newparent, m_node, m_oldindex, m_oldparent, KPlato::Node::projectNode(), and KPlato::NamedCommand::setCommandType().

void KPlato::NodeIndentCmd::unexecute (  ) 

Definition at line 724 of file kptcommand.cc.

References m_newindex, m_node, KPlato::Node::projectNode(), KPlato::NamedCommand::setCommandType(), and KPlato::Project::unindentTask().


Member Data Documentation

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

Definition at line 355 of file kptcommand.h.

Referenced by execute(), and unexecute().

Node* KPlato::NodeIndentCmd::m_oldparent [private]

Definition at line 356 of file kptcommand.h.

Referenced by execute().

Node * KPlato::NodeIndentCmd::m_newparent [private]

Definition at line 356 of file kptcommand.h.

Referenced by execute().

int KPlato::NodeIndentCmd::m_oldindex [private]

Definition at line 357 of file kptcommand.h.

Referenced by execute().

int KPlato::NodeIndentCmd::m_newindex [private]

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