[MeeGo-dev] KCal-EDS: Support local calendar creation
Dumez, Christophe
christophe.dumez at intel.com
Thu Jun 9 05:10:39 PDT 2011
Hi,
Could you please review the attached patch that implements local
calendar creation in KCal-EDS?
The apps need to call
EStorage::localStorage(KCalCore::IncidenceBase::IncidenceType type,
const QString &id, bool create)
instead of defaultStorage(KCalCore::IncidenceBase::IncidenceType type)
to get a local calendar storage.
If the "create" parameter is set to false and the local storage
identified by "id" does not exist, the method will fail and return a
NULL pointer.
The ECal uri is generated from the id provided by the caller as
follows: "local:<id>".
I have written new unit tests to check the functionality and it seems
to work for me.
TIA,
--
Dr. Christophe Dumez
Linux Software Engineer
Intel Finland Oy - Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-eKCal-EStorage-Implement-local-calendar-creation.patch
Type: text/x-patch
Size: 12757 bytes
Desc: not available
URL: <http://lists.meego.com/pipermail/meego-dev/attachments/20110609/f191f2b1/attachment.bin>
More information about the MeeGo-dev
mailing list