[Kde-pim] [PATCH] Akonadi::ItemSync customization

Dmitry Ivanov vonami at gmail.com
Fri Jun 27 13:00:56 BST 2008


Hello,

The attached patch allows to customize the behaviour of  Akonadi::ItemSync:

1. Allows subsclasses to "plug in" their own sync algorithms by reimplementing
    virtual bool updateItem( const Item &local, Item &remote ) const

2. Allows to specify how much data ItemSync should fetch from the cache when
   building a list of all items for the collection being synchronized,
by calling
   fetchScope() or setFetchScope().

The default behaviour of ItemSync changes since its now fetches the full payload
from the cache by default (it was disabled before due to a possible deadlock).

Since the patch breaks BC and my work on the SoC project is partially blocked,
I'd like to get this patch in ASAP. (note: no apidocs yet).

Dmitry

-- 
A: Because it destroys the flow of the conversation
Q: Why is top-posting bad?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itemsync-customization.diff
Type: application/octet-stream
Size: 4836 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080627/2d558013/attachment.obj>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list