akonadi
attributeentity.cpp
64 Akonadi::AttributeEntity &Akonadi::AttributeEntity::operator=(const Akonadi::AttributeEntity &other)
bool hasAttribute() const
Returns whether the entity has an attribute of the requested type.
Definition: attributeentity.h:151
void removeAttribute()
Removes and deletes the attribute of the requested type.
Definition: attributeentity.h:142
Attribute::List attributes() const
Returns a list of all attributes of the entity.
Definition: attributeentity.cpp:99
Parent class for entities that can have attributes.
Definition: attributeentity.h:40
void clearAttributes()
Removes and deletes all attributes of the entity.
Definition: attributeentity.cpp:104
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.