akonadi
20 #ifndef AKONADI_ITEMFETCHJOB_H
21 #define AKONADI_ITEMFETCHJOB_H
23 #include <akonadi/item.h>
24 #include <akonadi/job.h>
29 class ItemFetchJobPrivate;
85 Q_FLAGS(DeliveryOptions)
111 explicit ItemFetchJob(
const Item &item, QObject *parent = 0);
130 explicit ItemFetchJob(
const Item::List &items, QObject *parent = 0);
136 explicit ItemFetchJob(
const QList<Item::Id> &items, QObject *parent = 0);
162 Item::List items()
const;
220 void setCollection(
const Collection &collection);
224 EmitItemsIndividually = 0x2,
225 EmitItemsInBatches = 0x4,
226 Default = ItemGetter | EmitItemsInBatches
228 Q_DECLARE_FLAGS(DeliveryOptions, DeliveryOption)
234 void setDeliveryOption(DeliveryOptions options);
240 DeliveryOptions deliveryOptions() const;
259 void itemsReceived(const Akonadi::Item::List &items);
262 virtual
void doStart();
263 virtual
void doHandleResponse(const QByteArray &tag, const QByteArray &data);
269 Q_PRIVATE_SLOT(d_func(),
void timeout())
275 Q_DECLARE_OPERATORS_FOR_FLAGS(Akonadi::
ItemFetchJob::DeliveryOptions)
Represents a collection of PIM items.
Base class for all actions in the Akonadi storage.
Specifies which parts of an item should be fetched from the Akonadi storage.
Job that fetches items from the Akonadi storage.
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Fri Jun 15 2018 09:17:01 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.