20 #ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTEDIT_H 21 #define LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTEDIT_H 26 #include "../../undocommand.h" ~CmdSchematicNetSegmentEdit() noexcept
Definition: cmdschematicnetsegmentedit.cpp:47
The CmdSchematicNetSegmentEdit class.
Definition: cmdschematicnetsegmentedit.h:47
void performUndo() override
Undo the command.
Definition: cmdschematicnetsegmentedit.cpp:69
Definition: occmodel.cpp:77
void performRedo() override
Redo the command.
Definition: cmdschematicnetsegmentedit.cpp:73
CmdSchematicNetSegmentEdit(SI_NetSegment &netsegment) noexcept
Definition: cmdschematicnetsegmentedit.cpp:39
void setNetSignal(NetSignal &netsignal) noexcept
Definition: cmdschematicnetsegmentedit.cpp:54
NetSignal * mNewNetSignal
Definition: cmdschematicnetsegmentedit.h:75
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
SI_NetSegment & mNetSegment
Definition: cmdschematicnetsegmentedit.h:71
The NetSignal class.
Definition: netsignal.h:50
NetSignal * mOldNetSignal
Definition: cmdschematicnetsegmentedit.h:74
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicnetsegmentedit.cpp:63
The SI_NetSegment class.
Definition: si_netsegment.h:53