akonadi
entity.cpp
33 static void assignEntityPrivate(QSharedDataPointer<EntityPrivate> &one, const QSharedDataPointer<EntityPrivate> &other)
T * attribute() const
Returns the attribute of the requested type or 0 if it is not available.
Definition: entity.h:237
void setParentCollection(const Collection &parent)
Set the parent collection of this object.
Definition: entity.cpp:194
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
void setRemoteRevision(const QString &revision)
Sets the remote revision of the entity.
Definition: entity.cpp:87
Entity & operator=(const Entity &other)
Assigns the other to this entity and returns a reference to this entity.
Definition: entity.cpp:113
bool hasAttribute() const
Returns whether the entity has an attribute of the requested type.
Definition: entity.h:264
bool operator==(const Entity &other) const
Returns whether the entity's id equals the id of the other entity.
Definition: entity.cpp:102
Definition: entity_p.h:39
void removeAttribute()
Removes and deletes the attribute of the requested type.
Definition: entity.h:255
Attribute::List attributes() const
Returns a list of all attributes of the entity.
Definition: entity.cpp:153
bool operator!=(const Entity &other) const
Returns whether the entity's id does not equal the id of the other entity.
Definition: entity.cpp:108
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 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:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.