From kde-pim Mon Jun 27 07:53:42 2005 From: Reinhold Kainhofer Date: Mon, 27 Jun 2005 07:53:42 +0000 To: kde-pim Subject: Re: [Kde-pim] PATCH: addIncidence() DCOP call for KOrganizer Message-Id: <200506270953.45471.reinhold () kainhofer ! com> X-MARC-Message: https://marc.info/?l=kde-pim&m=111985906428752 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1591830624==" --===============1591830624== Content-Type: multipart/signed; boundary="nextPart1401480.likBa2jcGc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1401480.likBa2jcGc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 dialo= g. > > 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=3DAdriaan 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?=20 Good question. This is particularly important for time zones... The item ab= ove=20 happens at 11:00 UTC, so there is no issue, but what if you pass DTSTART:20050511T110000 As the time? Or DTSTART;TZID=3DEurope/Vienna:20050511T110000 In that case, you need to supply the VTIMEZONE object, and then a VCALENDAR= is=20 required... Reinhold =2D-=20 =2D----------------------------------------------------------------- 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 maintain= er --nextPart1401480.likBa2jcGc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCv7CJTqjEwhXvPN0RAoCTAKDIv8oVQiN3ZaQgCm7rb49wTEpE2gCgs6Zf hETX8lp0hfuPTmg/xgV4RLU= =KpzM -----END PGP SIGNATURE----- --nextPart1401480.likBa2jcGc-- --===============1591830624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/ --===============1591830624==--