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);
63 bool abortBeforeMigration = false);
65 return QStringLiteral(
"cmpcat");
68 return QStringLiteral(
"component_category");
The ComponentCategory class.
Definition componentcategory.h:44
ComponentCategory()=delete
ComponentCategory(const ComponentCategory &other)=delete
static QString getLongElementName() noexcept
Definition componentcategory.h:67
~ComponentCategory() noexcept
Definition componentcategory.cpp:53
static std::unique_ptr< ComponentCategory > open(std::unique_ptr< TransactionalDirectory > directory, bool abortBeforeMigration=false)
Definition componentcategory.cpp:60
static QString getShortElementName() noexcept
Definition componentcategory.h:64
The LibraryCategory class extends the LibraryBaseElement class with some attributes and methods which...
Definition librarycategory.h:43
The SExpression class.
Definition sexpression.h:69
Helper class to access a subdirectory of TransactionalFileSystem.
Definition transactionaldirectory.h:51
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The Version class represents a version number in the format "1.42.7".
Definition version.h:58
Definition occmodel.cpp:76
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition elementname.h:84