[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] [PATCH] Akonadi::ItemSync customization
From:       "Dmitry Ivanov" <vonami () gmail ! com>
Date:       2008-06-27 12:00:56
Message-ID: 6df8d8b90806270500t35385246qdd3acd0b8137c001 () mail ! gmail ! com
[Download RAW message or body]

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?

["itemsync-customization.diff" (application/octet-stream)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic