20#ifndef LIBREPCB_EDITOR_CMDLIBRARYELEMENTEDIT_H
21#define LIBREPCB_EDITOR_CMDLIBRARYELEMENTEDIT_H
51 const QString& text)
noexcept;
The LibraryElement class extends the LibraryBaseElement class with some attributes and methods which ...
Definition: libraryelement.h:45
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 CmdLibraryElementEdit class.
Definition: cmdlibraryelementedit.h:45
virtual void performRedo() override
Redo the command.
Definition: cmdlibraryelementedit.cpp:72
void setCategories(const QSet< Uuid > &uuids) noexcept
Definition: cmdlibraryelementedit.cpp:52
virtual void performUndo() override
Undo the command.
Definition: cmdlibraryelementedit.cpp:67
LibraryElement & mElement
Definition: cmdlibraryelementedit.h:71
QSet< Uuid > mOldCategories
Definition: cmdlibraryelementedit.h:73
QSet< Uuid > mNewCategories
Definition: cmdlibraryelementedit.h:74
CmdLibraryElementEdit(const CmdLibraryElementEdit &other)=delete
virtual bool performExecute() override
Execute the command the first time.
Definition: cmdlibraryelementedit.cpp:61
virtual ~CmdLibraryElementEdit() noexcept
Definition: cmdlibraryelementedit.cpp:45
CmdLibraryElementEdit()=delete
Definition: occmodel.cpp:77