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