[Kde-pim] Insert an Event in the calendar
Michaël Parchet
mparchet at sunrise.ch
Sat Oct 20 12:58:14 BST 2012
> On Friday, 2012-10-19, Michaël Parchet wrote:
>> Hello,
>>
>> I would like just to isert a recurent event for all monday from 13:50 to
>> 14:50.
>>
>> So I have begin to write a simple code to isert an event in the calandar.
>>
>> Here is my code :
>>
>> cout << "Inserer un rendez-vous test dans le calandrier \n";
>> KCalCore::Incidence::DateTimeRole timeRole = new
>> KCalCore::Event testEvent = new KCalCore::Event();
>
> My guess would be something like this
> // Create event instance
> KCalCore::Event::Ptr testEvent = new KCalCore::Event();
>
> // retrieve recurrence object
> KCalCore::Recurrence *recurrence = testEvent->recurrence();
>
> // then set values on recurrence object
>
> Cheers,
> Kevin
>
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list