akonadi
collectionfetchscope.cpp
81 return d->resource.isEmpty() && d->contentMimeTypes.isEmpty() && !d->statistics && d->ancestorDepth == None && d->listFilter == Enabled;
CollectionFetchScope()
Creates an empty collection fetch scope.
Definition: collectionfetchscope.cpp:56
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval. ...
Definition: collectionfetchscope.cpp:138
AKONADI_DEPRECATED void setIncludeUnsubscribed(bool include)
Sets whether unsubscribed collections should be included in the collection listing.
Definition: collectionfetchscope.cpp:94
Specifies which parts of a collection should be fetched from the Akonadi storage. ...
Definition: collectionfetchscope.h:68
AKONADI_DEPRECATED bool includeUnsubscribed() const
Returns whether unsubscribed collection should be included.
Definition: collectionfetchscope.cpp:89
void setResource(const QString &resource)
Sets a resource filter, that is only collections owned by the specified resource are retrieved...
Definition: collectionfetchscope.cpp:118
void setListFilter(ListFilter)
Sets a filter for the collections to be listed.
Definition: collectionfetchscope.cpp:148
void setIncludeStatistics(bool include)
Sets whether collection statistics should be included in the retrieved results.
Definition: collectionfetchscope.cpp:108
QString resource() const
Returns the resource identifier that is used as filter.
Definition: collectionfetchscope.cpp:113
CollectionFetchScope & operator=(const CollectionFetchScope &other)
Assigns the other to this scope and returns a reference to this scope.
Definition: collectionfetchscope.cpp:70
bool isEmpty() const
Returns true if there is nothing to fetch.
Definition: collectionfetchscope.cpp:79
void setContentMimeTypes(const QStringList &mimeTypes)
Sets a content mimetypes filter, that is only collections that contain at least one of the given mime...
Definition: collectionfetchscope.cpp:128
bool includeStatistics() const
Returns whether collection statistics should be included in the retrieved results.
Definition: collectionfetchscope.cpp:103
AKONADI_DEPRECATED bool includeUnubscribed() const
Returns whether unsubscribed collection should be included.
Definition: collectionfetchscope.cpp:84
No filtering, retrieve all collections.
Definition: collectionfetchscope.h:133
QStringList contentMimeTypes() const
Returns the content mimetypes filter.
Definition: collectionfetchscope.cpp:123
AncestorRetrieval ancestorRetrieval() const
Returns the ancestor retrieval depth.
Definition: collectionfetchscope.cpp:133
Only retrieve enabled collections, ignoring the local preference. This is the same as setIncludeUnsub...
Definition: collectionfetchscope.h:137
No ancestor retrieval at all (the default)
Definition: collectionfetchscope.h:75
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.