![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
this command replaces one node item in a connection item with another More...
#include <UndoCommands.h>
Public Member Functions | |
ReplaceConnectedNodeCommand (const QString &name, ConnectionGraphicsItem *, NodeGraphicsItem *oldNode, NodeGraphicsItem *newNode) | |
constructor | |
void | redo () |
void | undo () |
this command replaces one node item in a connection item with another
Definition at line 872 of file UndoCommands.h.
Tinkercell::ReplaceConnectedNodeCommand::ReplaceConnectedNodeCommand | ( | const QString & | name, |
ConnectionGraphicsItem * | c, | ||
NodeGraphicsItem * | oldNode, | ||
NodeGraphicsItem * | newNode | ||
) |
constructor
QString | name of command |
ConnectionGraphicsItem* | connection where the nodes will be swapped |
NodeGraphicsItem* | node to replace (old node) |
NodeGraphicsItem* | new node |
Definition at line 4206 of file UndoCommands.cpp.
void Tinkercell::ReplaceConnectedNodeCommand::redo | ( | ) |
void Tinkercell::ReplaceConnectedNodeCommand::undo | ( | ) |