[Kde-pim] Review Request: Support collection tree syncs in ResourceSynchronizationJob

Frank Osterfeld frank.osterfeld at kdemail.net
Thu Sep 22 17:35:29 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102676/
-----------------------------------------------------------

(Updated Sept. 22, 2011, 4:35 p.m.)


Review request for Akonadi, KDEPIM and KDEPIM-Libraries.


Changes
-------

Fix declaration order (dtor should before the setters/getters)


Summary
-------

Until now one can trigger collection tree synchronization via AgentInstance::synchronizeCollectionTree(), but there is no way to
receive its result, as ResourceSynchronizationJob only supports full synchronization.
Add a flag to ResourceSynchronizationJob to support also collection tree synchronization.

(I need this for the akregatormigrator, where I want the resource to build up the collection structure and then populate them with item from the old store)


Diffs (updated)
-----

  akonadi/resourcebase.h 2e5ca9e 
  akonadi/resourcebase.cpp 359911f 
  akonadi/resourcescheduler.cpp e6ae827 
  akonadi/resourcescheduler_p.h 1f2c176 
  akonadi/resourcesynchronizationjob.h b8e5abd 
  akonadi/resourcesynchronizationjob.cpp b5f677d 

Diff: http://git.reviewboard.kde.org/r/102676/diff


Testing
-------

Works with my migrator.


Thanks,

Frank

_______________________________________________
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