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

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to