From kde-devel Sat Oct 20 11:42:11 2012 From: Kevin Krammer Date: Sat, 20 Oct 2012 11:42:11 +0000 To: kde-devel Subject: Re: Insert an Event in the calendar Message-Id: <201210201342.12161.krammer () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=135073338231180 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============5163766506051741379==" --===============5163766506051741379== Content-Type: multipart/signed; boundary="nextPart39732752.hDcFsQluOO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart39732752.hDcFsQluOO Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Hi, I suggest you subscribe to the kde-pim mailing list (CC'ed) as most PIM=20 developers are subscribed there but might not be here in kde-devel. On Friday, 2012-10-19, Micha=EBl Parchet wrote: > Hello, >=20 > I would like just to isert a recurent event for all monday from 13:50 to > 14:50. >=20 > So I have begin to write a simple code to isert an event in the calandar. >=20 > Here is my code : >=20 > cout << "Inserer un rendez-vous test dans le calandrier \n"; > KCalCore::Incidence::DateTimeRole timeRole =3D new > KCalCore::Event testEvent =3D new KCalCore::Event(); My guess would be something like this // Create event instance KCalCore::Event::Ptr testEvent =3D new KCalCore::Event(); // retrieve recurrence object KCalCore::Recurrence *recurrence =3D testEvent->recurrence(); // then set values on recurrence object Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart39732752.hDcFsQluOO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQBQgo4UnKMhG6pzZJIRAkSpAJ9frryahHEpJu88o5VWOCTt0c9kFQCggn0c ccWhFmpNaaotCiO0cX5bObY= =+XLR -----END PGP SIGNATURE----- --nextPart39732752.hDcFsQluOO-- --===============5163766506051741379== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============5163766506051741379==--