akonadi
20 #ifndef ITEMFETCHSCOPE_H
21 #define ITEMFETCHSCOPE_H
23 #include "akonadi_export.h"
25 #include <QtCore/QSharedDataPointer>
26 #include <KDE/KDateTime>
29 template <
typename T>
class QSet;
33 class ItemFetchScopePrivate;
110 QSet<QByteArray> payloadParts()
const;
119 void fetchPayloadPart(
const QByteArray &part,
bool fetch =
true);
126 bool fullPayload()
const;
134 void fetchFullPayload(
bool fetch =
true);
143 QSet<QByteArray> attributes()
const;
151 void fetchAttribute(
const QByteArray &type,
bool fetch =
true);
161 fetchAttribute(dummy.type(), fetch);
169 bool allAttributes()
const;
177 void fetchAllAttributes(
bool fetch =
true);
185 bool cacheOnly()
const;
194 void setCacheOnly(
bool cacheOnly);
203 void setCheckForCachedPayloadPartsOnly(
bool check =
true);
212 bool checkForCachedPayloadPartsOnly()
const;
221 void setAncestorRetrieval(AncestorRetrieval ancestorDepth);
229 AncestorRetrieval ancestorRetrieval()
const;
238 void setFetchModificationTime(
bool retrieveMtime);
246 bool fetchModificationTime()
const;
255 void setFetchGid(
bool retrieveGID);
263 bool fetchGid()
const;
276 void setIgnoreRetrievalErrors(
bool enabled);
284 bool ignoreRetrievalErrors()
const;
289 bool isEmpty()
const;
301 void setFetchChangedSince(
const KDateTime &changedSince);
306 KDateTime fetchChangedSince()
const;
319 void setFetchRemoteIdentification(
bool retrieveRid);
327 bool fetchRemoteIdentification()
const;
339 void setFetchTags(
bool fetchTags);
347 bool fetchTags()
const;
398 void setFetchVirtualReferences(
bool fetchVRefs);
406 bool fetchVirtualReferences()
const;
410 QSharedDataPointer<ItemFetchScopePrivate> d;
No ancestor retrieval at all (the default)
Specifies which parts of a tag should be fetched from the Akonadi storage.
AncestorRetrieval
Describes the ancestor retrieval depth.
Only retrieve the immediate parent collection.
void fetchAttribute(bool fetch=true)
Sets whether the attribute of the requested type should be fetched.
Specifies which parts of an item should be fetched from the Akonadi storage.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat Jun 24 2017 13:45:14 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.