[Kde-pim] KJots on Akonadi. Help needed.
Stephen Kelly
steveire at gmail.com
Sat Oct 25 17:42:33 BST 2008
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.
All the best,
Steve.
_______________________________________________
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