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:195
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:186
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:112
bool hasAttribute() const
Returns whether the entity has an attribute of the requested type.
Definition: entity.h:263
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:254
Attribute::List attributes() const
Returns a list of all attributes of the entity.
Definition: entity.cpp:151
bool operator!=(const Entity &other) const
Returns whether the entity's id does not equal the id of the other entity.
Definition: entity.cpp:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.