20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETLABELREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICNETLABELREMOVE_H
26#include "../../undocommand.h"
The SI_NetLabel class.
Definition: si_netlabel.h:49
The SI_NetSegment class.
Definition: si_netsegment.h:53
The CmdSchematicNetLabelRemove class.
Definition: cmdschematicnetlabelremove.h:48
void performRedo() override
Redo the command.
Definition: cmdschematicnetlabelremove.cpp:65
~CmdSchematicNetLabelRemove() noexcept
Definition: cmdschematicnetlabelremove.cpp:48
void performUndo() override
Undo the command.
Definition: cmdschematicnetlabelremove.cpp:61
CmdSchematicNetLabelRemove(SI_NetLabel &netlabel) noexcept
Definition: cmdschematicnetlabelremove.cpp:41
SI_NetSegment & mNetSegment
Definition: cmdschematicnetlabelremove.h:68
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicnetlabelremove.cpp:55
SI_NetLabel & mNetLabel
Definition: cmdschematicnetlabelremove.h:69
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77