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:56
The CmdLibraryBaseElementEdit class.
Definition cmdlibrarybaseelementedit.h:45
The CmdLibraryElementEdit class.
Definition cmdlibraryelementedit.h:45
virtual void performRedo() override
Redo the command.
Definition cmdlibraryelementedit.cpp:82
void setCategories(const QSet< Uuid > &uuids) noexcept
Definition cmdlibraryelementedit.cpp:54
ResourceList mNewResources
Definition cmdlibraryelementedit.h:77
virtual void performUndo() override
Undo the command.
Definition cmdlibraryelementedit.cpp:76
void setResources(const ResourceList &resources) noexcept
Definition cmdlibraryelementedit.cpp:59
LibraryElement & mElement
Definition cmdlibraryelementedit.h:72
QSet< Uuid > mOldCategories
Definition cmdlibraryelementedit.h:74
QSet< Uuid > mNewCategories
Definition cmdlibraryelementedit.h:75
CmdLibraryElementEdit(const CmdLibraryElementEdit &other)=delete
ResourceList mOldResources
Definition cmdlibraryelementedit.h:76
virtual bool performExecute() override
Execute the command the first time.
Definition cmdlibraryelementedit.cpp:69
virtual ~CmdLibraryElementEdit() noexcept
Definition cmdlibraryelementedit.cpp:47
CmdLibraryElementEdit()=delete
Definition occmodel.cpp:76