<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>libkcal: KCal::ICalFormat Class Reference (libkcal)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> <style type="text/css"> <!-- hr { display: none; } #content h2 { margin-left: 0px; } table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; } td.mdRow { padding: 8px 20px; } td.md { font-weight: bold; } td.mdname1 { font-weight: bold; color: #602020; } td.mdname { font-weight: bold; color: #602020; } --> </style> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" /> <div id="nav_header_title" align="left">KDE PIM API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_left" style="text-align: left;"> / <a href="../../">API Reference</a> / <a href=".">libkcal</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <h2><a name="content"></a>libkcal</h2> <!-- Generated by Doxygen 1.5.5 --> <div class="navpath"><a class="el" href="namespaceKCal.html">KCal</a>::<a class="el" href="classKCal_1_1ICalFormat.html">ICalFormat</a> </div> <div class="contents"> <h1>KCal::ICalFormat Class Reference</h1><!-- doxytag: class="KCal::ICalFormat" --><!-- doxytag: inherits="KCal::CalFormat" --><code>#include <<a class="el" href="icalformat_8h-source.html">icalformat.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for KCal::ICalFormat:</div> <div class="dynsection"> <p><center><img src="classKCal_1_1ICalFormat.png" usemap="#KCal::ICalFormat_map" border="0" alt=""></center> <map name="KCal::ICalFormat_map"> <area href="classKCal_1_1CalFormat.html" alt="KCal::CalFormat" shape="rect" coords="0,0,106,24"> </map> </div> <p> <a href="classKCal_1_1ICalFormat-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> This class implements the iCalendar format. <p> It provides methods for loading/saving/converting iCalendar format data into the internal KOrganizer representation as <a class="el" href="classKCal_1_1Calendar.html" title="This is the main "calendar" object class.">Calendar</a> and Events.<p> iCalendar format implementation <p>Definition at line <a class="el" href="icalformat_8h-source.html#l00043">43</a> of file <a class="el" href="icalformat_8h-source.html">icalformat.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#bf3a248a20236375bc71617864366732">load</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, const QString &fileName)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#a21c0da1d38e6aaa4435258f8642c014">save</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, const QString &fileName)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#91e6cc78ec3a8c7d29f04e0f7f871ff2">fromString</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#46089d79cc47426bd7a991d446168a05">fromString</a> (const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#eed3930a405f0962bfb54f054fdc8982">toString</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#dd7aa2157620aeb704c0656e7d7accf2">toICalString</a> (<a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#949eb7b655ec46f101104450f16ac556">toString</a> (<a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#fb221ae9698d7537a65b03f6279248bc">toString</a> (<a class="el" href="classKCal_1_1RecurrenceRule.html">RecurrenceRule</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#ffbaa26b3cb5690e07af48a5e8082d84">fromString</a> (<a class="el" href="classKCal_1_1RecurrenceRule.html">RecurrenceRule</a> *, const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#789376be2eb2c1fc185f459e013dde09">createScheduleMessage</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *e, <a class="el" href="classKCal_1_1Scheduler.html#b5bb0cf1cf4c936a606b1968e85601b1">Scheduler::Method</a> m)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1ScheduleMessage.html">ScheduleMessage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#58751e76f49e8019963f50af93ba4571">parseScheduleMessage</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *, const QString &s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1FreeBusy.html">FreeBusy</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#3f4295df0520ec69f5a7007d3cf180f1">parseFreeBusy</a> (const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#0f1d58323f91008a5758541ff77396a8">setTimeZone</a> (const QString &id, bool utc)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#c4bf418d76abae474f3d11e916b28ee3">timeZoneId</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#f420f6d86fc3dd5edae2bb403e73356a">utc</a> () const </td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1ICalFormat.html#1ec84fa66e9fd85c39b9f8fd3b202cc3">fromRawString</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, const QCString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0e0782f4a4d7ac65e2e603dafb7f79c"></a><!-- doxytag: member="KCal::ICalFormat::setImplementation" ref="d0e0782f4a4d7ac65e2e603dafb7f79c" args="(ICalFormatImpl *impl)" --> void </td><td class="memItemRight" valign="bottom"><b>setImplementation</b> (ICalFormatImpl *impl)</td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="bf3a248a20236375bc71617864366732"></a><!-- doxytag: member="KCal::ICalFormat::load" ref="bf3a248a20236375bc71617864366732" args="(Calendar *calendar, const QString &fileName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::load </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>calendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>fileName</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Loads a calendar on disk in iCalendar format into calendar. <p> Returns true if successful, else returns false. Provides more error information by <a class="el" href="classKCal_1_1CalFormat.html#bbc98894ae8c89b897f5c1e0adbb28e2" title="Return exception, if there is any, containing information about the last error that...">exception()</a>.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>calendar</em> </td><td><a class="el" href="classKCal_1_1Calendar.html" title="This is the main "calendar" object class.">Calendar</a> object to be filled. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fileName</em> </td><td>The name of the calendar file on disk. </td></tr> </table> </dl> <p>Implements <a class="el" href="classKCal_1_1CalFormat.html#b606cbcc932f4a9698b1367560293ae2">KCal::CalFormat</a>.</p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00078">78</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="a21c0da1d38e6aaa4435258f8642c014"></a><!-- doxytag: member="KCal::ICalFormat::save" ref="a21c0da1d38e6aaa4435258f8642c014" args="(Calendar *calendar, const QString &fileName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::save </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>calendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>fileName</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Writes out the calendar to disk in iCalendar format. <p> Returns true if successful and false on error.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>calendar</em> </td><td>The <a class="el" href="classKCal_1_1Calendar.html" title="This is the main "calendar" object class.">Calendar</a> object to be written. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fileName</em> </td><td>The name of the calendar file on disk. </td></tr> </table> </dl> <p>Implements <a class="el" href="classKCal_1_1CalFormat.html#a9c20fc8eec871a1498fe570a1d9f13c">KCal::CalFormat</a>.</p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00102">102</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="91e6cc78ec3a8c7d29f04e0f7f871ff2"></a><!-- doxytag: member="KCal::ICalFormat::fromString" ref="91e6cc78ec3a8c7d29f04e0f7f871ff2" args="(Calendar *calendar, const QString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::fromString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>calendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>text</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Parse string and populate calendar with that information. <p> <p>Implements <a class="el" href="classKCal_1_1CalFormat.html#b0700e65de9609d570bd5e74b34e3e32">KCal::CalFormat</a>.</p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00138">138</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="46089d79cc47426bd7a991d446168a05"></a><!-- doxytag: member="KCal::ICalFormat::fromString" ref="46089d79cc47426bd7a991d446168a05" args="(const QString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * ICalFormat::fromString </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>text</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Parse string and return first ical component. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00200">200</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="eed3930a405f0962bfb54f054fdc8982"></a><!-- doxytag: member="KCal::ICalFormat::toString" ref="eed3930a405f0962bfb54f054fdc8982" args="(Calendar *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::toString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>cal</em> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return calendar information as string. <p> <p>Implements <a class="el" href="classKCal_1_1CalFormat.html#72e9581208a83e0a91d616845be63de8">KCal::CalFormat</a>.</p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00224">224</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="dd7aa2157620aeb704c0656e7d7accf2"></a><!-- doxytag: member="KCal::ICalFormat::toICalString" ref="dd7aa2157620aeb704c0656e7d7accf2" args="(Incidence *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::toICalString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * </td> <td class="paramname"> <em>incidence</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Return incidence as full iCalendar formatted text. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00276">276</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="949eb7b655ec46f101104450f16ac556"></a><!-- doxytag: member="KCal::ICalFormat::toString" ref="949eb7b655ec46f101104450f16ac556" args="(Incidence *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::toString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * </td> <td class="paramname"> <em>incidence</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Return incidence as iCalendar formatted text. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00283">283</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="fb221ae9698d7537a65b03f6279248bc"></a><!-- doxytag: member="KCal::ICalFormat::toString" ref="fb221ae9698d7537a65b03f6279248bc" args="(RecurrenceRule *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::toString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1RecurrenceRule.html">RecurrenceRule</a> * </td> <td class="paramname"> <em>recurrence</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Return recurrence rule as iCalendar formatted text. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00296">296</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="ffbaa26b3cb5690e07af48a5e8082d84"></a><!-- doxytag: member="KCal::ICalFormat::fromString" ref="ffbaa26b3cb5690e07af48a5e8082d84" args="(RecurrenceRule *, const QString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::fromString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1RecurrenceRule.html">RecurrenceRule</a> * </td> <td class="paramname"> <em>recurrence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>rrule</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Parse string and fill recurrence object with that information. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00305">305</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="789376be2eb2c1fc185f459e013dde09"></a><!-- doxytag: member="KCal::ICalFormat::createScheduleMessage" ref="789376be2eb2c1fc185f459e013dde09" args="(IncidenceBase *e, Scheduler::Method m)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::createScheduleMessage </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classKCal_1_1Scheduler.html#b5bb0cf1cf4c936a606b1968e85601b1">Scheduler::Method</a> </td> <td class="paramname"> <em>m</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create a scheduling message for event <code>e</code> using method <code>m</code>. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00324">324</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="58751e76f49e8019963f50af93ba4571"></a><!-- doxytag: member="KCal::ICalFormat::parseScheduleMessage" ref="58751e76f49e8019963f50af93ba4571" args="(Calendar *, const QString &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCal_1_1ScheduleMessage.html">ScheduleMessage</a> * ICalFormat::parseScheduleMessage </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>cal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>s</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Parse scheduling message provided as string <code>s</code>. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00391">391</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="3f4295df0520ec69f5a7007d3cf180f1"></a><!-- doxytag: member="KCal::ICalFormat::parseFreeBusy" ref="3f4295df0520ec69f5a7007d3cf180f1" args="(const QString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCal_1_1FreeBusy.html">FreeBusy</a> * ICalFormat::parseFreeBusy </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Parse FREEBUSY object. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00361">361</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="0f1d58323f91008a5758541ff77396a8"></a><!-- doxytag: member="KCal::ICalFormat::setTimeZone" ref="0f1d58323f91008a5758541ff77396a8" args="(const QString &id, bool utc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ICalFormat::setTimeZone </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>utc</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set id of used time zone and whether this time zone is UTC or not. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00566">566</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="c4bf418d76abae474f3d11e916b28ee3"></a><!-- doxytag: member="KCal::ICalFormat::timeZoneId" ref="c4bf418d76abae474f3d11e916b28ee3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString ICalFormat::timeZoneId </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return id string of timezone used. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00572">572</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="f420f6d86fc3dd5edae2bb403e73356a"></a><!-- doxytag: member="KCal::ICalFormat::utc" ref="f420f6d86fc3dd5edae2bb403e73356a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::utc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return true if timezone used is UTC, otherwise return false. <p> <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00577">577</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <a class="anchor" name="1ec84fa66e9fd85c39b9f8fd3b202cc3"></a><!-- doxytag: member="KCal::ICalFormat::fromRawString" ref="1ec84fa66e9fd85c39b9f8fd3b202cc3" args="(Calendar *calendar, const QCString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ICalFormat::fromRawString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Calendar.html">Calendar</a> * </td> <td class="paramname"> <em>calendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QCString & </td> <td class="paramname"> <em>text</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Parse string and return first ical component of a raw byte array of a utf8 encoded string. <p> This is an overload used for efficiency reading to avoid utf8 conversions, which are expensive, when reading from disk. <p>Definition at line <a class="el" href="icalformat_8cpp-source.html#l00143">143</a> of file <a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="icalformat_8h-source.html">icalformat.h</a><li><a class="el" href="icalformat_8cpp-source.html">icalformat.cpp</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>libkcal</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKCal_1_1Alarm.html">kcal::alarm</option>, <option value="classKCal_1_1Attachment.html">kcal::attachment</option>, <option value="classKCal_1_1Attendee.html">kcal::attendee</option>, <option value="classKCal_1_1Calendar.html">kcal::calendar</option>, <option value="classKCal_1_1Calendar_1_1Observer.html">kcal::calendar::observer</option>, <option value="classKCal_1_1CalendarLocal.html">kcal::calendarlocal</option>, <option value="classKCal_1_1CalendarNull.html">kcal::calendarnull</option>, <option value="classKCal_1_1CalendarResources.html">kcal::calendarresources</option>, <option value="classKCal_1_1CalFilter.html">kcal::calfilter</option>, <option value="classKCal_1_1CalFormat.html">kcal::calformat</option>, <option value="classKCal_1_1CalStorage.html">kcal::calstorage</option>, <option value="classKCal_1_1Compat.html">kcal::compat</option>, <option value="classKCal_1_1CompatFactory.html">kcal::compatfactory</option>, <option value="classKCal_1_1CustomProperties.html">kcal::customproperties</option>, <option value="classKCal_1_1DndFactory.html">kcal::dndfactory</option>, <option value="classKCal_1_1Duration.html">kcal::duration</option>, <option value="classKCal_1_1ErrorFormat.html">kcal::errorformat</option>, <option value="classKCal_1_1Event.html">kcal::event</option>, <option value="classKCal_1_1Exception.html">kcal::exception</option>, <option value="classKCal_1_1FileStorage.html">kcal::filestorage</option>, <option value="classKCal_1_1FreeBusy.html">kcal::freebusy</option>, <option value="classKCal_1_1HtmlExport.html">kcal::htmlexport</option>, <option value="classKCal_1_1ICalDrag.html">kcal::icaldrag</option>, <option value="classKCal_1_1ICalFormat.html">kcal::icalformat</option>, <option value="classKCal_1_1Incidence.html">kcal::incidence</option>, <option value="classKCal_1_1Incidence_1_1AddVisitor.html">kcal::incidence::addvisitor</option>, <option value="classKCal_1_1Incidence_1_1DeleteVisitor.html">kcal::incidence::deletevisitor</option>, <option value="classKCal_1_1IncidenceBase.html">kcal::incidencebase</option>, <option value="classKCal_1_1IncidenceBase_1_1Visitor.html">kcal::incidencebase::visitor</option>, <option value="classKCal_1_1IncidenceFormatter.html">kcal::incidenceformatter</option>, <option value="classKCal_1_1Journal.html">kcal::journal</option>, <option value="classKCal_1_1ListBase.html">kcal::listbase</option>, <option value="classKCal_1_1Period.html">kcal::period</option>, <option value="classKCal_1_1Person.html">kcal::person</option>, <option value="classKCal_1_1QtopiaFormat.html">kcal::qtopiaformat</option>, <option value="classKCal_1_1Recurrence.html">kcal::recurrence</option>, <option value="classKCal_1_1RecurrenceRule.html">kcal::recurrencerule</option>, <option value="classKCal_1_1RecurrenceRule_1_1WDayPos.html">kcal::recurrencerule::wdaypos</option>, <option value="classKCal_1_1ResourceCached.html">kcal::resourcecached</option>, <option value="classKCal_1_1ResourceCachedReloadConfig.html">kcal::resourcecachedreloadconfig</option>, <option value="classKCal_1_1ResourceCachedSaveConfig.html">kcal::resourcecachedsaveconfig</option>, <option value="classKCal_1_1ResourceCalendar.html">kcal::resourcecalendar</option>, <option value="classKCal_1_1ResourceLocal.html">kcal::resourcelocal</option>, <option value="classKCal_1_1ResourceLocalConfig.html">kcal::resourcelocalconfig</option>, <option value="classKCal_1_1ScheduleMessage.html">kcal::schedulemessage</option>, <option value="classKCal_1_1Scheduler.html">kcal::scheduler</option>, <option value="classKCal_1_1Todo.html">kcal::todo</option>, <option value="classKCal_1_1VCalDrag.html">kcal::vcaldrag</option>, <option value="classKCal_1_1VCalFormat.html">kcal::vcalformat</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../akregator/html/index.html">akregator</a></li><li> <a href="../../akregator/src/html/index.html">src</a></li><li> <a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li> <a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li> <a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li> <a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>