akonadi
collection.cpp
216 << " parent:" << collection.parentCollection().id() << collection.parentCollection().remoteId() << endl
Provides statistics information of a Collection.
Definition: collectionstatistics.h:69
Has all rights on this storage collection.
Definition: collection.h:96
void setParentCollection(const Collection &parent)
Set the parent collection of this object.
Definition: entity.cpp:196
void setParent(Id parent)
Sets the identifier of the parent collection.
Definition: collection.cpp:126
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:85
void setRights(Rights rights)
Sets the rights the user has on the collection.
Definition: collection.cpp:101
Can only read items or subcollection of this collection.
Definition: collection.h:87
void setVirtual(bool isVirtual)
Sets whether the collection is virtual or not.
Definition: collection.cpp:253
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:187
void setStatistics(const CollectionStatistics &statistics)
Sets the collection statistics for the collection.
Definition: collection.cpp:230
void setRights(Collection::Rights rights)
Sets the rights of the collection.
Definition: collectionrightsattribute.cpp:108
void setCachePolicy(const CachePolicy &policy)
Sets the cache policy of the collection.
Definition: collection.cpp:241
Attribute that stores the rights of a collection.
Definition: collectionrightsattribute_p.h:44
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:91
A short url which contains the identifier only (equivalent to url())
Definition: collection.h:246
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:107
CachePolicy cachePolicy() const
Returns the cache policy of the collection.
Definition: collection.cpp:236
QString resource() const
Returns the identifier of the resource owning the collection.
Definition: collection.cpp:194
Collection::Rights rights() const
Returns the rights of the collection.
Definition: collectionrightsattribute.cpp:113
void setParentRemoteId(const QString &identifier)
Sets the parent's remote identifier.
Definition: collection.cpp:141
static Collection fromUrl(const KUrl &url)
Creates a collection from the given url.
Definition: collection.cpp:164
CollectionStatistics statistics() const
Returns the collection statistics of the collection.
Definition: collection.cpp:225
void setResource(const QString &identifier)
Sets the identifier of the resource owning the collection.
Definition: collection.cpp:199
void setContentMimeTypes(const QStringList &types)
Sets the list of possible content mime types.
Definition: collection.cpp:112
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition: collection.cpp:248
Definition: collection_p.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat May 31 2014 00:42:42 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat May 31 2014 00:42:42 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.