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
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.
FreeBusyManager::Singleton.
Job that fetches items from the Akonadi storage.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Mar 9 2017 14:23:53 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.