20 #ifndef LIBREPCB_CORE_PACKAGECATEGORY_H 21 #define LIBREPCB_CORE_PACKAGECATEGORY_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<PackageCategory>
open(
62 std::unique_ptr<TransactionalDirectory> directory,
63 bool abortBeforeMigration =
false);
65 return QStringLiteral(
"pkgcat");
68 return QStringLiteral(
"package_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
Definition: occmodel.cpp:76
static QString getShortElementName() noexcept
Definition: packagecategory.h:64
~PackageCategory() noexcept
Definition: packagecategory.cpp:53
The PackageCategory class.
Definition: packagecategory.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:56
static std::unique_ptr< PackageCategory > open(std::unique_ptr< TransactionalDirectory > directory, bool abortBeforeMigration=false)
Definition: packagecategory.cpp:60
PackageCategory & operator=(const PackageCategory &rhs)=delete
The SExpression class.
Definition: sexpression.h:66
static QString getLongElementName() noexcept
Definition: packagecategory.h:67
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition: elementname.h:83