akonadi
itemfetchjob.cpp
90 str += QString::fromLatin1( " changed since %1" ).arg( mFetchScope.fetchChangedSince().toString() );
95 return QString::fromLatin1(ProtocolHelper::entitySetToByteArray(mRequestedItems, AKONADI_CMD_ITEMFETCH));
175 command += ProtocolHelper::commandContextToByteArray(d->mCollection, d->mTag, d->mRequestedItems, AKONADI_CMD_ITEMFETCH);
const char * what() const
Returns the error message associated with this exception.
Definition: exception.cpp:94
void itemsReceived(const Akonadi::Item::List &items)
This signal is emitted whenever new items have been fetched completely.
void setDeliveryOption(DeliveryOptions options)
Sets the mechanisms by which the items should be fetched.
Definition: itemfetchjob.cpp:275
DeliveryOptions deliveryOptions() const
Returns the delivery options.
Definition: itemfetchjob.cpp:282
void setCollection(const Collection &collection)
Specifies the collection the item is in.
Definition: itemfetchjob.cpp:268
@ EmitItemsInBatches
emitted via signal in bulk (collected and emitted delayed via timer)
Definition: itemfetchjob.h:225
void setFetchScope(ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition: itemfetchjob.cpp:247
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition: itemfetchjob.cpp:169
virtual void doHandleResponse(const QByteArray &tag, const QByteArray &data)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition: itemfetchjob.cpp:195
ItemFetchJob(const Collection &collection, QObject *parent=0)
Creates a new item fetch job that retrieves all items inside the given collection.
Definition: itemfetchjob.cpp:116
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:70
Definition: job_p.h:32
virtual void aboutToFinish()
This method is called right before result() and finished() signals are emitted.
static QByteArray itemFetchScopeToByteArray(const ItemFetchScope &fetchScope)
Converts a given ItemFetchScope object into a protocol representation.
Definition: protocolhelper.cpp:411
static void parseItemFetchResult(const QList< QByteArray > &lineTokens, Item &item, ProtocolHelperValuePool *valuePool=0)
Parses a single line from an item fetch job result into an Item object.
Definition: protocolhelper.cpp:503
static QByteArray entitySetToByteArray(const QList< T > &_objects, const QByteArray &command)
Converts the given set of items into a protocol representation.
Definition: protocolhelper_p.h:125
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.