KPlato::NodeModifyIdCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyIdCmd:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

Nodem_node
QString newId
QString oldId

Detailed Description

Definition at line 334 of file kptcommand.h.


Constructor & Destructor Documentation

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

Definition at line 685 of file kptcommand.cc.


Member Function Documentation

void KPlato::NodeModifyIdCmd::execute (  ) 

Definition at line 692 of file kptcommand.cc.

References m_node, newId, KPlato::NamedCommand::setCommandType(), and KPlato::Node::setId().

void KPlato::NodeModifyIdCmd::unexecute (  ) 

Definition at line 698 of file kptcommand.cc.

References m_node, oldId, KPlato::NamedCommand::setCommandType(), and KPlato::Node::setId().


Member Data Documentation

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

Definition at line 342 of file kptcommand.h.

Referenced by execute(), and unexecute().

QString KPlato::NodeModifyIdCmd::newId [private]

Definition at line 343 of file kptcommand.h.

Referenced by execute().

QString KPlato::NodeModifyIdCmd::oldId [private]

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