[Kde-pim] Handling external updates for an Akonadi resource
David Jarvie
djarvie at kde.org
Mon Feb 28 09:29:46 GMT 2011
Can somebody tell me how an Akonadi resource can notify the server that
unsolicited updates have occurred. In writing the KAlarm directory
resource (1 file per alarm), I want the resource to update whenever
externally triggered changes occur to files in the directory
(creations/changes/deletions). The resource sees these via KDirWatch
signals, but I can't find a way of telling the server about the changes
(via synchronize(), itemsRetrievedIncremental() etc) which doesn't result
in either no update occurring or a full resynchronisation. In these cases,
only the single file/alarm affected should be updated in the server - it
shouldn't result in a complete reload of all files.
--
David Jarvie.
KDE developer.
KAlarm author - http://www.astrojar.org.uk/kalarm
_______________________________________________
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