Akonadi
resourcebase.h
125 * Once you have handled changes in collectionAdded() and collectionChanged(), call changeCommitted().
243 * Throttling can be used during item retrieval (retrieveItems(Akonadi::Collection)) in streaming mode.
244 * To throttle only deliver itemSyncBatchSize() items, and wait for this signal, then again deliver
247 * By always only providing the number of items required to process the batch, the items don't pile
299 * @see itemsRetrieved( const Item::List& ), itemsRetrievedIncremental(), itemsRetrieved(), currentCollection(), batchSize()
340 AKONADIAGENTBASE_DEPRECATED virtual bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts);
469 void collectionsRetrievedIncremental(const Collection::List &changedCollections, const Collection::List &removedCollections);
506 * Call this method to supply the full collection listing from the remote server. Items not present in the list
762 };
771 * that should be called to execute this task. The method has to be a slot and take a QVariant as
773 * @param argument A QVariant argument passed to the method specified above. Use this to pass task
779 void scheduleCustomTask(QObject *receiver, const char *method, const QVariant &argument, SchedulePriority priority = Append);
782 * 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:758
@ Prepend
The task will be executed as soon as the current task has finished.
Definition resourcebase.h:759
@ AfterChangeReplay
The task is scheduled after the last ChangeReplay task in the queue.
Definition resourcebase.h:760
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:376
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 Tue Mar 26 2024 11:13:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.