Akonadi
resourcebase.h
125 * Once you have handled changes in collectionAdded() and collectionChanged(), call changeCommitted().
263 * Throttling can be used during item retrieval (retrieveItems(Akonadi::Collection)) in streaming mode.
264 * To throttle only deliver itemSyncBatchSize() items, and wait for this signal, then again deliver
267 * By always only providing the number of items required to process the batch, the items don't pile
313 * @see itemsRetrieved( const Item::List& ), itemsRetrievedIncremental(), itemsRetrieved(), currentCollection(), batchSize()
354 AKONADIAGENTBASE_DEPRECATED virtual bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts);
482 void collectionsRetrievedIncremental(const Collection::List &changedCollections, const Collection::List &removedCollections);
519 * Call this method to supply the full collection listing from the remote server. Items not present in the list
770 };
779 * that should be called to execute this task. The method has to be a slot and take a QVariant as
781 * @param argument A QVariant argument passed to the method specified above. Use this to pass task
787 void scheduleCustomTask(QObject *receiver, const char *method, const QVariant &argument, SchedulePriority priority = Append);
790 * Indicate that the current task is finished. Use this method from the slot called via scheduleCustomTaks().
The interface for reacting on monitored or replayed changes.
Definition agentbase.h:179
static int init(int argc, char **argv)
Use this method in the main function of your resource application to initialize your resource subclas...
Definition resourcebase.h:167
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:766
@ Prepend
The task will be executed as soon as the current task has finished.
Definition resourcebase.h:767
@ AfterChangeReplay
The task is scheduled after the last ChangeReplay task in the queue.
Definition resourcebase.h:768
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:390
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 Mon Nov 18 2024 12:08:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.