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