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;
109 QSet<QByteArray> payloadParts()
const;
118 void fetchPayloadPart(
const QByteArray &part,
bool fetch =
true );
125 bool fullPayload()
const;
133 void fetchFullPayload(
bool fetch =
true );
142 QSet<QByteArray> attributes()
const;
150 void fetchAttribute(
const QByteArray &type,
bool fetch =
true );
160 fetchAttribute( dummy.type(), fetch );
168 bool allAttributes()
const;
176 void fetchAllAttributes(
bool fetch =
true );
184 bool cacheOnly()
const;
193 void setCacheOnly(
bool cacheOnly );
202 void setCheckForCachedPayloadPartsOnly(
bool check =
true );
211 bool checkForCachedPayloadPartsOnly()
const;
220 void setAncestorRetrieval( AncestorRetrieval ancestorDepth );
228 AncestorRetrieval ancestorRetrieval()
const;
237 void setFetchModificationTime(
bool retrieveMtime );
245 bool fetchModificationTime()
const;
254 void setFetchGid(
bool retrieveGID );
262 bool fetchGid()
const;
275 void setIgnoreRetrievalErrors(
bool enabled );
283 bool ignoreRetrievalErrors()
const;
288 bool isEmpty()
const;
300 void setFetchChangedSince(
const KDateTime &changedSince );
305 KDateTime fetchChangedSince()
const;
318 void setFetchRemoteIdentification(
bool retrieveRid );
326 bool fetchRemoteIdentification()
const;
330 QSharedDataPointer<ItemFetchScopePrivate> d;
No ancestor retrieval at all (the default)
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.