Akonadi
itemfetchscope.cpp
86 return d->mPayloadParts.isEmpty() && d->mAttributes.isEmpty() && !d->mFullPayload && !d->mAllAttributes && !d->mCacheOnly
89 && !d->mFetchGid && !d->mFetchTags && !d->mFetchVRefs && !d->mFetchRelations && d->mAncestorDepth == AncestorRetrieval::None;
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:58
bool fetchVirtualReferences() const
Returns whether virtual references should be retrieved.
Definition itemfetchscope.cpp:205
void setFetchRemoteIdentification(bool retrieveRid)
Fetch remote identification for items.
Definition itemfetchscope.cpp:165
bool allAttributes() const
Returns whether all available attributes should be fetched.
Definition itemfetchscope.cpp:74
void setCacheOnly(bool cacheOnly)
Sets whether payload data should be requested from remote sources or just from the local cache.
Definition itemfetchscope.cpp:97
bool fetchRemoteIdentification() const
Returns whether item remote identification should be retrieved.
Definition itemfetchscope.cpp:170
bool fullPayload() const
Returns whether the full payload should be fetched.
Definition itemfetchscope.cpp:50
void fetchAttribute(const QByteArray &type, bool fetch=true)
Sets whether the attribute of the given type should be fetched.
Definition itemfetchscope.cpp:65
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval.
Definition itemfetchscope.cpp:120
bool cacheOnly() const
Returns whether payload data should be requested from remote sources or just from the local cache.
Definition itemfetchscope.cpp:92
QDateTime fetchChangedSince() const
Returns timestamp of the oldest item to fetch.
Definition itemfetchscope.cpp:160
bool fetchModificationTime() const
Returns whether item modification time should be retrieved.
Definition itemfetchscope.cpp:130
void setFetchGid(bool retrieveGID)
Enables retrieval of the item GID.
Definition itemfetchscope.cpp:135
bool checkForCachedPayloadPartsOnly() const
Returns whether payload data should be fetched or only checked for presence in the cache.
Definition itemfetchscope.cpp:110
void fetchAllAttributes(bool fetch=true)
Sets whether all available attributes should be fetched.
Definition itemfetchscope.cpp:79
QSet< QByteArray > attributes() const
Returns all explicitly fetched attributes.
Definition itemfetchscope.cpp:60
bool ignoreRetrievalErrors() const
Returns whether retrieval errors should be ignored.
Definition itemfetchscope.cpp:150
bool fetchRelations() const
Returns whether relations should be retrieved.
Definition itemfetchscope.cpp:215
QSet< QByteArray > payloadParts() const
Returns the payload parts that should be fetched.
Definition itemfetchscope.cpp:36
void setFetchModificationTime(bool retrieveMtime)
Enables retrieval of the item modification time.
Definition itemfetchscope.cpp:125
AncestorRetrieval ancestorRetrieval() const
Returns the ancestor retrieval depth.
Definition itemfetchscope.cpp:115
void setTagFetchScope(const TagFetchScope &fetchScope)
Sets the tag fetch scope.
Definition itemfetchscope.cpp:185
void setFetchRelations(bool fetchRelations)
Fetch relations for items.
Definition itemfetchscope.cpp:210
void setCheckForCachedPayloadPartsOnly(bool check=true)
Sets whether payload will be fetched or there will be only a test performed if the requested payload ...
Definition itemfetchscope.cpp:102
void setFetchVirtualReferences(bool fetchVRefs)
Returns whether to fetch list of virtual collections the item is linked to.
Definition itemfetchscope.cpp:200
void setFetchChangedSince(const QDateTime &changedSince)
Only fetch items that were added or modified after given timestamp.
Definition itemfetchscope.cpp:155
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition itemfetchscope.cpp:55
void fetchPayloadPart(const QByteArray &part, bool fetch=true)
Sets which payload parts shall be fetched.
Definition itemfetchscope.cpp:41
void setIgnoreRetrievalErrors(bool enabled)
Ignore retrieval errors while fetching items, and always deliver what is available.
Definition itemfetchscope.cpp:145
ItemFetchScope & operator=(const ItemFetchScope &other)
Assigns the other to this scope and returns a reference to this scope.
Definition itemfetchscope.cpp:27
Specifies which parts of a tag should be fetched from the Akonadi storage.
Definition tagfetchscope.h:23
Helper integration between Akonadi and Qt.
QSet::iterator insert(const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:38:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:38:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.