[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] PATCH: addIncidence() DCOP call for KOrganizer
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2005-06-27 7:53:42
Message-ID: 200506270953.45471.reinhold () kainhofer ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Am Montag, 27. Juni 2005 02:55 schrieb Adriaan de Groot:
> On Monday 27 June 2005 02:14, David Jarvie wrote:
> > Here is a patch to add a new DCOP call to KOrganizer. The new method in
> > korganizeriface.h,  addIncidence(QString& ical), allows another
> > application to send KOrganizer an iCalendar incidence in string format,
> > which KOrganizer adds to its default calendar without showing any dialog.
>
> <doxpatrol>Please document what the format is for that QString. Its name
> "ical" suggests that it is an ical-encoded VEVENT, so
>
> addIncidence( QString::fromLatin1(
> "BEGIN:VEVENT\n"
> "DTSTAMP:20050511T171945Z\n"
> "ORGANIZER;CN=Adriaan de Groot:MAILTO:groot@kde.org\n"
> "CREATED:20050511T171829Z\n"
> "SUMMARY:Complain about Dox\n"
> "DTSTART:20050511T110000Z\n"
> "DTEND:20050511T120000Z\n"
> "TRANSP:OPAQUE\n"
> "END:VEVENT\n"
> ) ) ;
>
> is a correct call -- or do you need the VCALENDAR stuff surrounding it as
> well? 

Good question. This is particularly important for time zones... The item above 
happens at 11:00 UTC, so there is no issue, but what if you pass
DTSTART:20050511T110000
As the time? Or
DTSTART;TZID=Europe/Vienna:20050511T110000
In that case, you need to supply the VTIMEZONE object, and then a VCALENDAR is 
required...

Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna, Austria
email: reinhold@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at
 * K Desktop Environment, http://www.kde.org/, KOrganizer / KPilot maintainer

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic