akonadi
20 #ifndef AKONADI_ITEMSYNC_H 21 #define AKONADI_ITEMSYNC_H 23 #include "akonadi_export.h" 25 #include <akonadi/item.h> 26 #include <akonadi/job.h> 32 class ItemSyncPrivate;
88 void setFullSyncItems(
const Item::List &items);
101 void setTotalItems(
int amount);
109 void setStreamingEnabled(
bool enable);
128 void setIncrementalSyncItems(
const Item::List &changedItems,
129 const Item::List &removedItems);
182 void setTransactionMode(TransactionMode mode);
191 int batchSize()
const;
202 void setBatchSize(
int);
216 void setDisableAutomaticDeliveryDone(
bool disable);
224 MergeMode mergeMode()
const;
237 void setMergeMode(MergeMode mergeMode);
246 void readyForNextBatch(
int remainingBatchSize);
254 void transactionCommitted();
258 void slotResult(KJob *job);
269 AKONADI_DEPRECATED
virtual bool updateItem(
const Item &storedItem, Item &newItem);
274 ItemSyncPrivate *dummy;
276 Q_PRIVATE_SLOT(d_func(),
void slotLocalListDone(KJob *))
277 Q_PRIVATE_SLOT(d_func(),
void slotLocalDeleteDone(KJob *))
278 Q_PRIVATE_SLOT(d_func(),
void slotLocalChangeDone(KJob *))
279 Q_PRIVATE_SLOT(d_func(),
void slotTransactionResult(KJob *))
280 Q_PRIVATE_SLOT(d_func(),
void slotItemsReceived(
const Akonadi::Item::List &))
Represents a collection of PIM items.
Use a single transaction for the entire sync process (default), provides maximum consistency ("all or...
Base class for all actions in the Akonadi storage.
Syncs between items known to a client (usually a resource) and the Akonadi storage.
Specifies which parts of an item should be fetched from the Akonadi storage.
Use one transaction per chunk of delivered items, good compromise between the other two when using st...
TransactionMode
Transaction mode used by ItemSync.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Jul 25 2019 00:00:00 by
doxygen 1.8.15 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.