akonadi
20#ifndef ITEMFETCHSCOPE_H
21#define ITEMFETCHSCOPE_H
23#include "akonadi_export.h"
25#include <QtCore/QSharedDataPointer>
26#include <KDE/KDateTime>
29template <
typename T>
class QSet;
33class 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;
Specifies which parts of an item should be fetched from the Akonadi storage.
void fetchAttribute(bool fetch=true)
Sets whether the attribute of the requested type should be fetched.
AncestorRetrieval
Describes the ancestor retrieval depth.
@ Parent
Only retrieve the immediate parent collection.
@ None
No ancestor retrieval at all (the default)
Specifies which parts of a tag should be fetched from the Akonadi storage.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.