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:58
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
virtual void performUndo() override
Undo the command.
Definition: cmdlibrarycategoryedit.cpp:68
CmdLibraryCategoryEdit()=delete
void setParentUuid(const tl::optional< Uuid > &parentUuid) noexcept
Definition: cmdlibrarycategoryedit.cpp:52
CmdLibraryCategoryEdit(const CmdLibraryCategoryEdit &other)=delete
tl::optional< Uuid > mNewParentUuid
Definition: cmdlibrarycategoryedit.h:73
virtual bool performExecute() override
Execute the command the first time.
Definition: cmdlibrarycategoryedit.cpp:62
LibraryCategory & mCategory
Definition: cmdlibrarycategoryedit.h:70
tl::optional< Uuid > mOldParentUuid
Definition: cmdlibrarycategoryedit.h:72
Definition: occmodel.cpp:77