akonadi
collection.cpp
229 << " parent:" << collection.parentCollection().id() << collection.parentCollection().remoteId() << endl
288 void Collection::setLocalListPreference(Collection::ListPurpose purpose, Collection::ListPreference preference)
306 Collection::ListPreference Collection::localListPreference(Collection::ListPurpose purpose) const
AKONADI_DEPRECATED QString parentRemoteId() const
Returns the parent remote identifier.
Definition: collection.cpp:144
QString displayName() const
Returns the display name (EntityDisplayAttribute::displayName()) if set, and Collection::name() other...
Definition: collection.cpp:86
Provides statistics information of a Collection.
Definition: collectionstatistics.h:69
bool shouldList(ListPurpose purpose) const
Returns whether the collection should be listed or not for the specified purpose Takes enabled state ...
Definition: collection.cpp:321
QString displayName() const
Returns the name that should be used for display.
Definition: entitydisplayattribute.cpp:52
Has all rights on this storage collection.
Definition: collection.h:96
static QString virtualMimeType()
Returns the mimetype used for virtual collections.
Definition: collection.cpp:202
void setParentCollection(const Collection &parent)
Set the parent collection of this object.
Definition: entity.cpp:194
AKONADI_DEPRECATED void setParent(Id parent)
Sets the identifier of the parent collection.
Definition: collection.cpp:134
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:93
void setRights(Rights rights)
Sets the rights the user has on the collection.
Definition: collection.cpp:109
bool referenced() const
Returns the referenced state of the collection.
Definition: collection.cpp:346
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:266
Disable collectoin for specified purpose.
Definition: collection.h:326
QString number(int n, int base)
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
void setStatistics(const CollectionStatistics &statistics)
Sets the collection statistics for the collection.
Definition: collection.cpp:243
Enable collection for specified purpose.
Definition: collection.h:325
void setRights(Collection::Rights rights)
Sets the rights of the collection.
Definition: collectionrightsattribute.cpp:123
void setCachePolicy(const CachePolicy &policy)
Sets the cache policy of the collection.
Definition: collection.cpp:254
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:99
void setLocalListPreference(ListPurpose purpose, ListPreference preference)
Sets the local list preference for the specified purpose.
Definition: collection.cpp:288
void setShouldList(ListPurpose purpose, bool shouldList)
Sets wether the collection should be listed or not for the specified purpose.
Definition: collection.cpp:329
A short url which contains the identifier only (equivalent to url())
Definition: collection.h:265
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
CachePolicy cachePolicy() const
Returns the cache policy of the collection.
Definition: collection.cpp:249
QString fromLatin1(const char *str, int size)
QString resource() const
Returns the identifier of the resource owning the collection.
Definition: collection.cpp:207
ListPreference localListPreference(ListPurpose purpose) const
Returns the local list preference for the specified purpose.
Definition: collection.cpp:306
Collection::Rights rights() const
Returns the rights of the collection.
Definition: collectionrightsattribute.cpp:128
AKONADI_DEPRECATED Id parent() const
Returns the identifier of the parent collection.
Definition: collection.cpp:129
AKONADI_DEPRECATED void setParentRemoteId(const QString &identifier)
Sets the parent's remote identifier.
Definition: collection.cpp:149
static Collection fromUrl(const KUrl &url)
Creates a collection from the given url.
Definition: collection.cpp:172
void setReferenced(bool referenced)
Sets a collection to be referenced.
Definition: collection.cpp:338
CollectionStatistics statistics() const
Returns the collection statistics of the collection.
Definition: collection.cpp:238
qlonglong toLongLong(bool *ok, int base) const
void setResource(const QString &identifier)
Sets the identifier of the resource owning the collection.
Definition: collection.cpp:212
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
void setContentMimeTypes(const QStringList &types)
Sets the list of possible content mime types.
Definition: collection.cpp:120
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition: collection.cpp:261
Definition: collection_p.h:35
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.