diff -r ef813d54df51 -r a5a1242fd2e8 agendainterface/agendautil/src/agendautil_p.cpp --- a/agendainterface/agendautil/src/agendautil_p.cpp Wed Aug 18 09:47:38 2010 +0300 +++ b/agendainterface/agendautil/src/agendautil_p.cpp Thu Sep 02 20:25:23 2010 +0300 @@ -203,11 +203,14 @@ /*! To store the new entry or update the entry in the Calendar db. - \param entry The entry to be added/updated - \param range The recurrence range of entry + \param entry The entry to be added/updated. + \param range The recurrence range of entry. + \param instanceOriginalDateTime The start time of the original instance.. \return ulong The local uid of the entry added/updated in the db. */ -ulong AgendaUtilPrivate::store(AgendaEntry &entry, AgendaUtil::RecurrenceRange range) +ulong AgendaUtilPrivate::store( + AgendaEntry &entry, AgendaUtil::RecurrenceRange range, + QDateTime &instanceOriginalDateTime) { // Will be filled with the lUID of the new entry created. TCalLocalUid localUid = 0; @@ -269,7 +272,7 @@ // We are creating an exception, hence get the global Uid HBufC8* guid = parentEntry->UidL().AllocLC(); - QDateTime instanceOriginalDateTime = entry.startTime(); + // create new (child) entry // Use original instance time for recurrenceID as this entry hasn't got one.