20#ifndef LIBREPCB_EDITOR_CMDNETCLASSEDIT_H
21#define LIBREPCB_EDITOR_CMDNETCLASSEDIT_H
26#include "../../undocommand.h"
The NetClass class.
Definition netclass.h:46
The CmdNetClassEdit class.
Definition cmdnetclassedit.h:48
void performRedo() override
Redo the command.
Definition cmdnetclassedit.cpp:73
void setName(const ElementName &name) noexcept
Definition cmdnetclassedit.cpp:54
~CmdNetClassEdit() noexcept
Definition cmdnetclassedit.cpp:47
NetClass & mNetClass
Definition cmdnetclassedit.h:72
void performUndo() override
Undo the command.
Definition cmdnetclassedit.cpp:69
ElementName mNewName
Definition cmdnetclassedit.h:76
ElementName mOldName
Definition cmdnetclassedit.h:75
bool performExecute() override
Execute the command the first time.
Definition cmdnetclassedit.cpp:63
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition elementname.h:84