[Kde-pim] KJots on Akonadi. Help needed.
Ingo Klöcker
kloecker at kde.org
Tue Oct 28 10:34:52 GMT 2008
On Saturday 25 October 2008, Stephen Kelly wrote:
> Hi,
>
> Probably the last update before Essen.
>
> I've checked in more changes to the kjots rewrite including updates
> to the patch to kdepimlibs/akonadi.
>
> You can check it out as before and it might work. I've hit a problem
> that an item and a collection might have the same id in akonadi. I
> might be able to work around it using the row in the QModelIndex.
>
> Also, in the resource, I noticed that ItemAdded takes arguments for
> item and collection to add it to. However, ItemRemoved doesn't get an
> argument to tell it what collection it was removed from. I don't know
> yet whether this is a problem. It might depend on when Monitor emits
> signals. Is a collection changed if one of its child collections or
> items is added/removed/changed? When an item is removed I need to
> know which book file to remove it from.
>
> The entity tree model seems to work for the most part. I can add
> remove and change items and collections in akonadiconsole, and the
> plasmoid is updated immediately. However, when I use a proxy model to
> sort the entities, everything breaks. I think it might be a qt bug,
> but I've yet to make a test case.
Did you check your model with QModelTest
(http://labs.trolltech.com/page/Projects/Itemview/Modeltest)?
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081028/3315b56d/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