[Kde-pim] Question: Akonadi::TransactionSequence

Kevin Krammer kevin.krammer at gmx.at
Fri Jan 25 12:40:08 GMT 2008


On Wednesday 23 January 2008, Kevin Krammer wrote:

> To improve this and to also get a proper asyncSave() implementation, I
> looked through libakonadi for job chaining and found TransactionSequence.
>
> I created an internal  subclass called SaveSequence and add the
> ItemDeleteJob, ItemStoreJob and ItemAppendJob to it before either executing
> it using exec() (for the synchronous save() method) or start() (for the
> asyncSave() method).

A follow up on this:

While examining code in libakonadi, I found that ItemSync already implements 
this use case.
I modified my local copy so it gets exported and so far everything worked 
fine.

Any specific reason why it is marked @internal?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080125/1833e324/attachment.sig>
-------------- 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