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)
106 explicit ItemFetchJob(
const Item &item, QObject *parent = 0 );
120 explicit ItemFetchJob(
const Item::List &items, QObject *parent = 0 );
126 explicit ItemFetchJob(
const QList<Item::Id> &items, QObject *parent = 0 );
139 Item::List items()
const;
195 void setCollection(
const Collection &collection );
199 EmitItemsIndividually = 0x2,
200 EmitItemsInBatches = 0x4,
201 Default = ItemGetter | EmitItemsInBatches
203 Q_DECLARE_FLAGS(DeliveryOptions, DeliveryOption)
209 void setDeliveryOption( DeliveryOptions options );
215 DeliveryOptions deliveryOptions() const;
227 void itemsReceived( const Akonadi::Item::List &items );
230 virtual
void doStart();
231 virtual
void doHandleResponse( const QByteArray &tag, const QByteArray &data );
237 Q_PRIVATE_SLOT( d_func(),
void selectDone( KJob* ) )
238 Q_PRIVATE_SLOT( d_func(),
void timeout() )
244 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-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:03:53 by
doxygen 1.8.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.