akonadi
itemsync.h
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:70
void setTotalItems(int amount)
Set the amount of items which you are going to return in total by using the setFullSyncItems()/setInc...
Definition itemsync.cpp:220
virtual AKONADI_DEPRECATED bool updateItem(const Item &storedItem, Item &newItem)
Reimplement this method to customize the synchronization algorithm.
Definition itemsync.cpp:281
void readyForNextBatch(int remainingBatchSize)
Signals the resource that new items can be delivered.
@ NoTransaction
Use no transaction at all, provides highest responsiveness (might therefore feel faster even when act...
Definition itemsync.h:173
@ MultipleTransactions
Use one transaction per chunk of delivered items, good compromise between the other two when using st...
Definition itemsync.h:172
@ SingleTransaction
Use a single transaction for the entire sync process (default), provides maximum consistency ("all or...
Definition itemsync.h:171
void setIncrementalSyncItems(const Item::List &changedItems, const Item::List &removedItems)
Sets the item lists for incrementally syncing the collection.
Definition itemsync.cpp:241
void setFullSyncItems(const Item::List &items)
Sets the full item list for the collection.
Definition itemsync.cpp:196
ItemSync(const Collection &collection, QObject *parent=0)
Creates a new item synchronizer.
Definition itemsync.cpp:185
void rollback()
Aborts the sync process and rolls back all not yet committed transactions.
Definition itemsync.cpp:517
void deliveryDone()
Notify ItemSync that all remote items have been delivered.
Definition itemsync.cpp:494
void transactionCommitted()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.