#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeModifyIdCmd:
Public Member Functions | |
NodeModifyIdCmd (Part *part, Node &node, QString id, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Node & | m_node |
QString | newId |
QString | oldId |
Definition at line 334 of file kptcommand.h.
Definition at line 685 of file kptcommand.cc.
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().
Node& KPlato::NodeModifyIdCmd::m_node [private] |
QString KPlato::NodeModifyIdCmd::newId [private] |
QString KPlato::NodeModifyIdCmd::oldId [private] |