Akonadi
resourcebase.h
125 * Once you have handled changes in collectionAdded() and collectionChanged(), call changeCommitted().
215 * Throttling can be used during item retrieval (retrieveItems(Akonadi::Collection)) in streaming mode.
216 * To throttle only deliver itemSyncBatchSize() items, and wait for this signal, then again deliver
219 * By always only providing the number of items required to process the batch, the items don't pile
265 * @see itemsRetrieved( const Item::List& ), itemsRetrievedIncremental(), itemsRetrieved(), currentCollection(), batchSize()
306 AKONADIAGENTBASE_DEPRECATED virtual bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts);
434 void collectionsRetrievedIncremental(const Collection::List &changedCollections, const Collection::List &removedCollections);
471 * Call this method to supply the full collection listing from the remote server. Items not present in the list
722 };
731 * that should be called to execute this task. The method has to be a slot and take a QVariant as
733 * @param argument A QVariant argument passed to the method specified above. Use this to pass task
739 void scheduleCustomTask(QObject *receiver, const char *method, const QVariant &argument, SchedulePriority priority = Append);
742 * Indicate that the current task is finished. Use this method from the slot called via scheduleCustomTaks().
virtual void retrieveCollections()=0
Retrieve the collection tree from the remote server and supply it via collectionsRetrieved() or colle...
SchedulePriority
Describes the scheduling priority of a task that has been queued for execution.
Definition resourcebase.h:718
@ Prepend
The task will be executed as soon as the current task has finished.
Definition resourcebase.h:719
@ AfterChangeReplay
The task is scheduled after the last ChangeReplay task in the queue.
Definition resourcebase.h:720
void retrieveNextItemSyncBatch(int remainingBatchSize)
Emitted when the item synchronization processed the current batch and is ready for a new one.
void attributesSynchronized(qlonglong collectionId)
Emitted when a collection attributes synchronization has been completed.
virtual QString dumpResourceToString() const
Dump resource internals, for debugging.
Definition resourcebase.h:342
void nameChanged(const QString &name)
This signal is emitted whenever the name of the resource has changed.
virtual void retrieveItems(const Akonadi::Collection &collection)=0
Retrieve all (new/changed) items in collection collection.
void collectionTreeSynchronized()
Emitted when a collection tree synchronization has been completed.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.