akonadi
attributeentity.cpp
64Akonadi::AttributeEntity &Akonadi::AttributeEntity::operator=(const Akonadi::AttributeEntity &other)
Parent class for entities that can have attributes.
Definition: attributeentity.h:40
void removeAttribute()
Removes and deletes the attribute of the requested type.
Definition: attributeentity.h:142
bool hasAttribute() const
Returns whether the entity has an attribute of the requested type.
Definition: attributeentity.h:151
void clearAttributes()
Removes and deletes all attributes of the entity.
Definition: attributeentity.cpp:104
Attribute::List attributes() const
Returns a list of all attributes of the entity.
Definition: attributeentity.cpp:99
void addAttribute(Attribute *attribute)
Adds an attribute to the entity.
Definition: attributeentity.cpp:74
T * attribute() const
Returns the attribute of the requested type or 0 if it is not available.
Definition: attributeentity.h:124
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.