Akonadi
itemsync.h
54 * @param timestamp Optional timestamp of itemsync start. Will be used to detect local changes that happen
58 explicit ItemSync(const Collection &collection, const QDateTime ×tamp = {}, QObject *parent = nullptr);
130 SingleTransaction, ///< Use a single transaction for the entire sync process (default), provides maximum consistency ("all or nothing") and best
132 MultipleTransactions, ///< Use one transaction per chunk of delivered items, good compromise between the other two when using streaming
133 NoTransaction ///< Use no transaction at all, provides highest responsiveness (might therefore feel faster even when actually taking slightly longer),
135 };
139 * @note You must call this method before starting the sync, changes afterwards lead to undefined results.
159 * @note You must call this method before starting the sync, changes afterwards lead to undefined results.
173 * @note You must call this method before starting the sync, changes afterwards lead to undefined results.
194 * @note You must call this method before starting the sync, changes afterwards lead to undefined results.
Syncs between items known to a client (usually a resource) and the Akonadi storage.
Definition itemsync.h:41
void readyForNextBatch(int remainingBatchSize)
Signals the resource that new items can be delivered.
@ MultipleTransactions
Use one transaction per chunk of delivered items, good compromise between the other two when using st...
Definition itemsync.h:132
void transactionCommitted()
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 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.