[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Insert an Event in the calendar
From:       Michaël_Parchet <mparchet () sunrise ! ch>
Date:       2012-10-19 14:44:44
Message-ID: E3C0143E-6C7A-435C-8B5D-640E4E393F60 () sunrise ! ch
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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();
    


I think use  RoleRecurrenceStart.

I have search an example with google but I have found nothing.

Can you help me please ?

Tanks for advanced.

Best regards

mparchet
[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \
space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I would \
like just to isert a recurent event for all monday from 13:50 to \
14:50.</div><div><br></div><div>So I have begin to write a simple code to isert an \
event in the calandar.</div><div><br></div><div>Here is my code \
:</div><div><br></div><div> <pre style="margin-top: 0px; margin-bottom: 0px; \
"><!--StartFragment--><span style=" color:#c0c0c0;"> </span>cout<span style=" \
color:#c0c0c0;"> </span>&lt;&lt;<span style=" color:#c0c0c0;"> </span><span style=" \
color:#008000;">"Inserer un rendez-vous test dans le calandrier \n"</span>;</pre> \
<pre style="margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    \
</span><span style=" color:#800080;">KCalCore</span>::<span style=" \
color:#800080;">Incidence</span>::<span style=" \
color:#800080;">DateTimeRole</span><span style=" color:#c0c0c0;"> \
</span>timeRole<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> \
</span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;">   \
</span></pre> <pre style="margin-top: 0px; margin-bottom: 0px; "><span style=" \
color:#c0c0c0;">    </span><span style=" color:#800080;">KCalCore</span>::<span \
style=" color:#800080;">Event</span><span style=" color:#c0c0c0;"> \
</span>testEvent<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> \
</span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> \
</span><span style=" color:#800080;">KCalCore</span>::<span style=" \
color:#800080;">Event</span>();</pre> <pre style="margin-top: 0px; margin-bottom: \
0px; "><span style=" color:#c0c0c0;">    \
</span><!--EndFragment--></pre><div><br></div></div><div><br></div><div>I think use \
&nbsp;<em>RoleRecurrenceStart.</em></div><div><em><br></em></div><div>I have search \
an example with google but I have found nothing.</div><div><br></div><div>Can you \
help me please ?</div><div><br></div><div>Tanks for&nbsp;<span id="result_box" \
class="short_text" lang="en">advanced</span>.</div><div><br></div><div>Best \
regards</div><div><br></div><div>mparchet</div></body></html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic