20#ifndef LIBREPCB_EDITOR_CMDLIBRARYCATEGORYEDIT_H
21#define LIBREPCB_EDITOR_CMDLIBRARYCATEGORYEDIT_H
The LibraryCategory class extends the LibraryBaseElement class with some attributes and methods which...
Definition librarycategory.h:43
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The CmdLibraryBaseElementEdit class.
Definition cmdlibrarybaseelementedit.h:45
The CmdLibraryCategoryEdit class.
Definition cmdlibrarycategoryedit.h:45
virtual void performRedo() override
Redo the command.
Definition cmdlibrarycategoryedit.cpp:73
virtual ~CmdLibraryCategoryEdit() noexcept
Definition cmdlibrarycategoryedit.cpp:45
void setParentUuid(const std::optional< Uuid > &parentUuid) noexcept
Definition cmdlibrarycategoryedit.cpp:52
virtual void performUndo() override
Undo the command.
Definition cmdlibrarycategoryedit.cpp:68
std::optional< Uuid > mNewParentUuid
Definition cmdlibrarycategoryedit.h:73
std::optional< Uuid > mOldParentUuid
Definition cmdlibrarycategoryedit.h:72
CmdLibraryCategoryEdit()=delete
CmdLibraryCategoryEdit(const CmdLibraryCategoryEdit &other)=delete
virtual bool performExecute() override
Execute the command the first time.
Definition cmdlibrarycategoryedit.cpp:62
LibraryCategory & mCategory
Definition cmdlibrarycategoryedit.h:70
Definition occmodel.cpp:76