akonadi
20 #ifndef ITEMFETCHSCOPE_H
21 #define ITEMFETCHSCOPE_H
23 #include "akonadi_export.h"
25 #include <QtCore/QSharedDataPointer>
28 template <
typename T>
class QSet;
32 class ItemFetchScopePrivate;
108 QSet<QByteArray> payloadParts()
const;
117 void fetchPayloadPart(
const QByteArray &part,
bool fetch =
true );
124 bool fullPayload()
const;
132 void fetchFullPayload(
bool fetch =
true );
141 QSet<QByteArray> attributes()
const;
149 void fetchAttribute(
const QByteArray &type,
bool fetch =
true );
156 template <
typename T>
inline void fetchAttribute(
bool fetch =
true )
159 fetchAttribute( dummy.type(), fetch );
167 bool allAttributes()
const;
175 void fetchAllAttributes(
bool fetch =
true );
183 bool cacheOnly()
const;
192 void setCacheOnly(
bool cacheOnly );
201 void setAncestorRetrieval( AncestorRetrieval ancestorDepth );
209 AncestorRetrieval ancestorRetrieval()
const;
218 void setFetchModificationTime(
bool retrieveMtime );
226 bool fetchModificationTime()
const;
239 void setIgnoreRetrievalErrors(
bool enabled );
247 bool ignoreRetrievalErrors()
const;
252 bool isEmpty()
const;
256 QSharedDataPointer<ItemFetchScopePrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:38 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.