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 );
157 template <
typename T>
inline void fetchAttribute(
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;
258 void setIgnoreRetrievalErrors(
bool enabled );
266 bool ignoreRetrievalErrors()
const;
271 bool isEmpty()
const;
283 void setFetchChangedSince(
const KDateTime &changedSince );
288 KDateTime fetchChangedSince()
const;
292 QSharedDataPointer<ItemFetchScopePrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 17 2014 22:12:30 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.