akonadi
attributeentity.h
void removeAttribute()
Removes and deletes the attribute of the requested type.
Definition attributeentity.h:142
T * attribute(CreateOption option)
Returns the attribute of the requested type.
Definition attributeentity.h:102
Attribute * attribute(const QByteArray &name) const
Returns the attribute of the given type name if available, 0 otherwise.
Definition attributeentity.cpp:113
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
bool hasAttribute(const QByteArray &name) const
Returns true if the entity has an attribute of the given type name, false otherwise.
Definition attributeentity.cpp:94
CreateOption
Describes the options that can be passed to access attributes.
Definition attributeentity.h:91
void removeAttribute(const QByteArray &name)
Removes and deletes the attribute of the given type name.
Definition attributeentity.cpp:88
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.