20 #ifndef LIBREPCB_CORE_COMPONENTCATEGORY_H 21 #define LIBREPCB_CORE_COMPONENTCATEGORY_H 52 const QString& author,
const ElementName& name_en_US,
53 const QString& description_en_US,
54 const QString& keywords_en_US);
61 static std::unique_ptr<ComponentCategory>
open(
62 std::unique_ptr<TransactionalDirectory> directory);
64 return QStringLiteral(
"cmpcat");
67 return QStringLiteral(
"component_category");
The Version class represents a version number in the format "1.42.7".
Definition: version.h:58
The LibraryCategory class extends the LibraryBaseElement class with some attributes and methods which...
Definition: librarycategory.h:43
static QString getShortElementName() noexcept
Definition: componentcategory.h:63
Definition: occmodel.cpp:76
~ComponentCategory() noexcept
Definition: componentcategory.cpp:53
ComponentCategory()=delete
static QString getLongElementName() noexcept
Definition: componentcategory.h:66
ComponentCategory & operator=(const ComponentCategory &rhs)=delete
The ComponentCategory class.
Definition: componentcategory.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:56
The SExpression class.
Definition: sexpression.h:66
static std::unique_ptr< ComponentCategory > open(std::unique_ptr< TransactionalDirectory > directory)
Definition: componentcategory.cpp:60
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition: elementname.h:93