[Kde-pim] Akonadi resource for Todo.txt: item.hasPayload() False

Markus Becker markushx at gmail.com
Sun Sep 4 14:36:23 BST 2011


Hi,

I am trying to create an Akonadi resource for Todo's according to the file
format of http://todotxt.com/ by following the techbase tutorial. The Todo's
are shown in Korganizer, so far so good.

I have problems adding new Todo's though, which I create in Korganizer.
Well, the itemAdded() method of the resource is called, but the Item does
not have any payload. I have tinkered
with X-Akonadi-MimeTypes=text/calendar,application/x-vnd.akonadi.calendar.todo
in the .desktop file, but to no avail. Do I have to write a serializer?

The code is (mostly) available at
https://github.com/markushx/todo.txt-akonadi.

Thanks,
Markus
_______________________________________________
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