Akonadi
attributefactory.cpp
100Q_GLOBAL_STATIC(StaticAttributeFactory, s_attributeInstance) // NOLINT(readability-redundant-member-init)
131 Q_ASSERT(!attr->type().contains(' ') && !attr->type().contains('\'') && !attr->type().contains('"'));
Provides the functionality of registering and creating arbitrary entity attributes.
Definition attributefactory.h:40
static Attribute * createAttribute(const QByteArray &type)
Creates an entity attribute object of the given type.
Definition attributefactory.cpp:139
static void registerAttribute()
Registers a custom attribute of type T.
Definition attributefactory.h:51
Helper integration between Akonadi and Qt.
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.