KPlato::NodeUnindentCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeUnindentCmd:

[legend]
List of all members.

Public Member Functions

 NodeUnindentCmd (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 360 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 734 of file kptcommand.cc.


Member Function Documentation

void KPlato::NodeUnindentCmd::execute (  ) 

Definition at line 740 of file kptcommand.cc.

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

void KPlato::NodeUnindentCmd::unexecute (  ) 

Definition at line 752 of file kptcommand.cc.

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


Member Data Documentation

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

Definition at line 368 of file kptcommand.h.

Referenced by execute(), and unexecute().

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

Definition at line 369 of file kptcommand.h.

Referenced by execute().

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

Definition at line 369 of file kptcommand.h.

Referenced by execute().

int KPlato::NodeUnindentCmd::m_oldindex [private]

Definition at line 370 of file kptcommand.h.

Referenced by execute(), and unexecute().

int KPlato::NodeUnindentCmd::m_newindex [private]

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