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,
63 bool abortBeforeMigration =
false);
65 return QStringLiteral(
"cmpcat");
68 return QStringLiteral(
"component_category");
static std::unique_ptr< ComponentCategory > open(std::unique_ptr< TransactionalDirectory > directory, bool abortBeforeMigration=false)
Definition: componentcategory.cpp:60
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:64
Definition: occmodel.cpp:77
~ComponentCategory() noexcept
Definition: componentcategory.cpp:53
ComponentCategory()=delete
static QString getLongElementName() noexcept
Definition: componentcategory.h:67
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:58
The SExpression class.
Definition: sexpression.h:69
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition: elementname.h:84