[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:       Adriaan de Groot <groot () kde ! org>
Date:       2005-06-27 0:55:36
Message-ID: 200506270255.36506.groot () kde ! org
[Download RAW message or body]

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? An example would be very useful here. Also, in the re-iplementations in 
classes inheriting the DCOP interface, please add /** @reimp from 
-name-of-superclass-method- */ . If it's not a reimplementation, use /** Add 
an incidence to the calendar. @see -name-of-method-elsewhere- . */

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
_______________________________________________
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