[Kde-pim] Insert an Event in the calendar
Kevin Krammer
krammer at kde.org
Sat Oct 20 12:42:11 BST 2012
Hi,
I suggest you subscribe to the kde-pim mailing list (CC'ed) as most PIM
developers are subscribed there but might not be here in kde-devel.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20121020/3a31a929/attachment.sig>
-------------- next part --------------
_______________________________________________
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