20#ifndef LIBREPCB_EDITOR_CMDDEVICEPADSIGNALMAPITEMEDIT_H
21#define LIBREPCB_EDITOR_CMDDEVICEPADSIGNALMAPITEMEDIT_H
26#include "../../cmd/cmdlistelementinsert.h"
27#include "../../cmd/cmdlistelementremove.h"
28#include "../../cmd/cmdlistelementsswap.h"
29#include "../../undocommand.h"
The DevicePadSignalMapItem class.
Definition: devicepadsignalmap.h:42
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The CmdDevicePadSignalMapItemEdit class.
Definition: cmddevicepadsignalmapitemedit.h:49
void performRedo() override
Redo the command.
Definition: cmddevicepadsignalmapitemedit.cpp:73
tl::optional< Uuid > mNewSignalUuid
Definition: cmddevicepadsignalmapitemedit.h:79
void setSignalUuid(const tl::optional< Uuid > &uuid) noexcept
Definition: cmddevicepadsignalmapitemedit.cpp:52
tl::optional< Uuid > mOldSignalUuid
Definition: cmddevicepadsignalmapitemedit.h:78
void performUndo() override
Undo the command.
Definition: cmddevicepadsignalmapitemedit.cpp:69
DevicePadSignalMapItem & mItem
Definition: cmddevicepadsignalmapitemedit.h:76
CmdDevicePadSignalMapItemEdit(const CmdDevicePadSignalMapItemEdit &other)=delete
~CmdDevicePadSignalMapItemEdit() noexcept
Definition: cmddevicepadsignalmapitemedit.cpp:45
bool performExecute() override
Execute the command the first time.
Definition: cmddevicepadsignalmapitemedit.cpp:62
CmdDevicePadSignalMapItemEdit()=delete
The CmdListElementInsert class.
Definition: cmdlistelementinsert.h:46
The CmdListElementRemove class.
Definition: cmdlistelementremove.h:46
The CmdListElementsSwap class.
Definition: cmdlistelementsswap.h:46
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77
Definition: devicepadsignalmap.h:97