<?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" xml:lang="en"> <head> <title>KCalCore::VCalFormat Class Reference</title> <style type="text/css"> .cp-doNotDisplay { display: none; } @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }} .cp-edit { text-align: right; } @media print, embossed { .cp-edit { display: none; }} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="meta" href="http://www.kde.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" /> <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" /> <meta name="no-email-collection" content="http://www.unspam.com/noemailcollection" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link rel="shortcut icon" href="../../favicon.ico" /><link rel="icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../../kde.css" /> <link rel="stylesheet" media="print, embossed" type="text/css" href="../../print.css" /> <link rel="stylesheet" media="screen, aural, handheld, tty, braille" type="text/css" title="Flat" href="../../flat.css" /> <link rel="stylesheet" type="text/css" href="../../doxygen.css" /> <link rel="stylesheet" type="text/css" href="../../tabs.css" /> </head> <body> <ul class="cp-doNotDisplay"> <li><a href="#cp-content" accesskey="2">Skip to content</a></li> <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li> </ul> <div id="container"> <div id="header"> <div id="header_top"><div><div> <img alt ="" src="../../top-kde.jpg"/> </div></div></div> <div id="header_bottom"> <div id="location"> <ul> <li><a href="http://api.kde.org">KDE API Reference</a></li> <li><a href="../../index.html">kdepimlibs-4.10.5 API Reference</a></li> </ul> </div> <div id="menu"> <ul> <li><a href="http://www.kde.org/">KDE Home</a></li> <li><a href="http://kde.org/contact/">Contact Us</a></li> </ul> </div> </div> </div> <!-- End page header --> <div id="body_wrapper"> <div id="body"> <!-- begin main content --> <div id="right"> <div class="content"> <div id="main"> <div class="clearer"> </div> <h2><a name="content"></a>KCalCore Library</h2> <!-- BC --> <div id="top"> <!-- Generated by Doxygen 1.8.3.1 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceKCalCore.html">KCalCore</a></li><li class="navelem"><a class="el" href="classKCalCore_1_1VCalFormat.html">VCalFormat</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="classKCalCore_1_1VCalFormat-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">KCalCore::VCalFormat Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="vcalformat_8h_source.html">vcalformat.h</a>></code></p> <div class="dynheader"> Inheritance diagram for KCalCore::VCalFormat:</div> <div class="dyncontent"> <div class="center"> <img src="classKCalCore_1_1VCalFormat.png" usemap="#KCalCore::VCalFormat_map" alt=""/> <map id="KCalCore::VCalFormat_map" name="KCalCore::VCalFormat_map"> <area href="classKCalCore_1_1CalFormat.html" title="An abstract base class that provides an interface to various calendar formats." alt="KCalCore::CalFormat" shape="rect" coords="0,0,140,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a41d63befc02244711be3e4c8a6ce8195"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a41d63befc02244711be3e4c8a6ce8195">VCalFormat</a> ()</td></tr> <tr class="separator:a41d63befc02244711be3e4c8a6ce8195"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aad1ee0c2c055fcd5d8aa9305b8701451"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#aad1ee0c2c055fcd5d8aa9305b8701451">~VCalFormat</a> ()</td></tr> <tr class="separator:aad1ee0c2c055fcd5d8aa9305b8701451"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5288df362995e30d48d85a900ba359fb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a5288df362995e30d48d85a900ba359fb">fromRawString</a> (const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> &calendar, const QByteArray &string, bool deleted=false, const QString &notebook=QString())</td></tr> <tr class="separator:a5288df362995e30d48d85a900ba359fb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41aa54f70fdf3451dcf7da8866ddfea4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a41aa54f70fdf3451dcf7da8866ddfea4">fromString</a> (const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> &calendar, const QString &string, bool deleted=false, const QString &notebook=QString())</td></tr> <tr class="separator:a41aa54f70fdf3451dcf7da8866ddfea4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11689657adc79e5a8314aaaef0acbd8c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a11689657adc79e5a8314aaaef0acbd8c">load</a> (const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> &calendar, const QString &fileName)</td></tr> <tr class="separator:a11689657adc79e5a8314aaaef0acbd8c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb691b3ae963a55d4976298e564a82d1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#afb691b3ae963a55d4976298e564a82d1">save</a> (const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> &calendar, const QString &fileName)</td></tr> <tr class="separator:afb691b3ae963a55d4976298e564a82d1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae99dcc21ddf1497edc7daa2813a3f638"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#ae99dcc21ddf1497edc7daa2813a3f638">toString</a> (const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> &calendar, const QString &notebook=QString(), bool deleted=false)</td></tr> <tr class="separator:ae99dcc21ddf1497edc7daa2813a3f638"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classKCalCore_1_1CalFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classKCalCore_1_1CalFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classKCalCore_1_1CalFormat.html">KCalCore::CalFormat</a></td></tr> <tr class="memitem:a79521c5597be2ba29e292e54ff729317 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a79521c5597be2ba29e292e54ff729317">CalFormat</a> ()</td></tr> <tr class="separator:a79521c5597be2ba29e292e54ff729317 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f81d89cd92e072c3f8194eb4b2e2876 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a3f81d89cd92e072c3f8194eb4b2e2876">~CalFormat</a> ()</td></tr> <tr class="separator:a3f81d89cd92e072c3f8194eb4b2e2876 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2996f3b49cbd7595312ffe80e6c7685e inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a2996f3b49cbd7595312ffe80e6c7685e">clearException</a> ()</td></tr> <tr class="separator:a2996f3b49cbd7595312ffe80e6c7685e inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa634c46b2ebb438bc9688ee16eb73ce1 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCalCore_1_1Exception.html">Exception</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#aa634c46b2ebb438bc9688ee16eb73ce1">exception</a> () const </td></tr> <tr class="separator:aa634c46b2ebb438bc9688ee16eb73ce1 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a40001ca6af71d04ff3687874331d6e1a inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a40001ca6af71d04ff3687874331d6e1a">loadedProductId</a> ()</td></tr> <tr class="separator:a40001ca6af71d04ff3687874331d6e1a inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac70fc7456e911a4884c693c1a1393945 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#ac70fc7456e911a4884c693c1a1393945">setException</a> (<a class="el" href="classKCalCore_1_1Exception.html">Exception</a> *error)</td></tr> <tr class="separator:ac70fc7456e911a4884c693c1a1393945 inherit pub_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:aee8c6d81ab33a46e0fb46562a6f25e44"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#aee8c6d81ab33a46e0fb46562a6f25e44">dayFromNum</a> (int day)</td></tr> <tr class="separator:aee8c6d81ab33a46e0fb46562a6f25e44"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a933ce27577b0985e81a0ac12851ecf96"><td class="memItemLeft" align="right" valign="top">VObject * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a933ce27577b0985e81a0ac12851ecf96">eventToVEvent</a> (const <a class="el" href="classKCalCore_1_1Event.html#a46fb81154c27838046fb7a8af53a7f54">Event::Ptr</a> &event)</td></tr> <tr class="separator:a933ce27577b0985e81a0ac12851ecf96"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a143f45b754a99debe313db0b7bf8a3e5"><td class="memItemLeft" align="right" valign="top">VObject * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a143f45b754a99debe313db0b7bf8a3e5">eventToVTodo</a> (const <a class="el" href="classKCalCore_1_1Todo.html#a550c3c48a0e569879d4274dffc6713e2">Todo::Ptr</a> &todo)</td></tr> <tr class="separator:a143f45b754a99debe313db0b7bf8a3e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adf3e4fe07a9986be1804df2b745a0884"><td class="memItemLeft" align="right" valign="top">KDateTime </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#adf3e4fe07a9986be1804df2b745a0884">ISOToKDateTime</a> (const QString &dtStr)</td></tr> <tr class="separator:adf3e4fe07a9986be1804df2b745a0884"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a92281ec37b2d3a3e14ce8bd9cae6b3a6"><td class="memItemLeft" align="right" valign="top">QDate </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a92281ec37b2d3a3e14ce8bd9cae6b3a6">ISOToQDate</a> (const QString &dtStr)</td></tr> <tr class="separator:a92281ec37b2d3a3e14ce8bd9cae6b3a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3825cf180d8c8a6e70564d38e495607c"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a3825cf180d8c8a6e70564d38e495607c">kDateTimeToISO</a> (const KDateTime &date, bool zulu=true)</td></tr> <tr class="separator:a3825cf180d8c8a6e70564d38e495607c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af7d8e3beec13136ed2d21dd9c40ddc19"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#af7d8e3beec13136ed2d21dd9c40ddc19">numFromDay</a> (const QString &day)</td></tr> <tr class="separator:af7d8e3beec13136ed2d21dd9c40ddc19"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad2938845939ec8858828742c52fef954"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#ad2938845939ec8858828742c52fef954">parseDst</a> (QByteArray &timezone) const </td></tr> <tr class="separator:ad2938845939ec8858828742c52fef954"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0d4c5dad621a6762f9a0c1a4cb2f8f50"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a0d4c5dad621a6762f9a0c1a4cb2f8f50">parseTZ</a> (const QByteArray &timezone) const </td></tr> <tr class="separator:a0d4c5dad621a6762f9a0c1a4cb2f8f50"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ca78bb47c3ae5aa26e71d3f9873a434"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a6ca78bb47c3ae5aa26e71d3f9873a434">parseTZOffsetISO8601</a> (const QString &s, int &result)</td></tr> <tr class="separator:a6ca78bb47c3ae5aa26e71d3f9873a434"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a101535594a22d0e5ac6020901c65007b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a101535594a22d0e5ac6020901c65007b">populate</a> (VObject *vcal, bool deleted=false, const QString &notebook=QString())</td></tr> <tr class="separator:a101535594a22d0e5ac6020901c65007b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a25da33f92c15d066d834e0176af27357"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a25da33f92c15d066d834e0176af27357">qDateToISO</a> (const QDate &date)</td></tr> <tr class="separator:a25da33f92c15d066d834e0176af27357"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2059514dcf43d4de77a486928992d90b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2059514dcf43d4de77a486928992d90b"></a> void </td><td class="memItemRight" valign="bottom"><b>readCustomProperties</b> (VObject *o, const <a class="el" href="classKCalCore_1_1Incidence.html#a7d265dc28d387d0592dd5953851fa322">Incidence::Ptr</a> &i)</td></tr> <tr class="separator:a2059514dcf43d4de77a486928992d90b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abb101f129918e9a0d1a40035e04f2b34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98">Attendee::PartStat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#abb101f129918e9a0d1a40035e04f2b34">readStatus</a> (const char *s) const </td></tr> <tr class="separator:abb101f129918e9a0d1a40035e04f2b34"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9631c5387e6ca558e89f22335309f0fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCalCore_1_1Event.html#a46fb81154c27838046fb7a8af53a7f54">Event::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a9631c5387e6ca558e89f22335309f0fd">VEventToEvent</a> (VObject *vevent)</td></tr> <tr class="separator:a9631c5387e6ca558e89f22335309f0fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a3c6e1b2d04f79564713279bcbde4d3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a7a3c6e1b2d04f79564713279bcbde4d3">virtual_hook</a> (int id, void *data)</td></tr> <tr class="separator:a7a3c6e1b2d04f79564713279bcbde4d3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3a2c387ed7b64cb393f37e9f857e909d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCalCore_1_1Todo.html#a550c3c48a0e569879d4274dffc6713e2">Todo::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a3a2c387ed7b64cb393f37e9f857e909d">VTodoToEvent</a> (VObject *vtodo)</td></tr> <tr class="separator:a3a2c387ed7b64cb393f37e9f857e909d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a209c7f2bc4c11fd4d5ad0fa9fdc7be72"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a209c7f2bc4c11fd4d5ad0fa9fdc7be72"></a> void </td><td class="memItemRight" valign="bottom"><b>writeCustomProperties</b> (VObject *o, const <a class="el" href="classKCalCore_1_1Incidence.html#a7d265dc28d387d0592dd5953851fa322">Incidence::Ptr</a> &i)</td></tr> <tr class="separator:a209c7f2bc4c11fd4d5ad0fa9fdc7be72"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a023845968263219db160e27bd70c853a"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1VCalFormat.html#a023845968263219db160e27bd70c853a">writeStatus</a> (<a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98">Attendee::PartStat</a> status) const </td></tr> <tr class="separator:a023845968263219db160e27bd70c853a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classKCalCore_1_1CalFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classKCalCore_1_1CalFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classKCalCore_1_1CalFormat.html">KCalCore::CalFormat</a></td></tr> <tr class="memitem:a24076798e9034b6f69ebabf85672aa74 inherit pro_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a24076798e9034b6f69ebabf85672aa74">setLoadedProductId</a> (const QString &id)</td></tr> <tr class="separator:a24076798e9034b6f69ebabf85672aa74 inherit pro_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_static_methods_classKCalCore_1_1CalFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classKCalCore_1_1CalFormat')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classKCalCore_1_1CalFormat.html">KCalCore::CalFormat</a></td></tr> <tr class="memitem:a94637dc2964f1ea8eeb2b1103997f665 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">static const QString & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a94637dc2964f1ea8eeb2b1103997f665">application</a> ()</td></tr> <tr class="separator:a94637dc2964f1ea8eeb2b1103997f665 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0cf1b3de8c9fd981c7d616c2cef48595 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a0cf1b3de8c9fd981c7d616c2cef48595">createUniqueId</a> ()</td></tr> <tr class="separator:a0cf1b3de8c9fd981c7d616c2cef48595 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4a0a7e561b630af42f1315495e7f006 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">static const QString & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#ab4a0a7e561b630af42f1315495e7f006">productId</a> ()</td></tr> <tr class="separator:ab4a0a7e561b630af42f1315495e7f006 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7ea8ed2974cc331baaa1e0f793e96fe8 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCalCore_1_1CalFormat.html#a7ea8ed2974cc331baaa1e0f793e96fe8">setApplication</a> (const QString &<a class="el" href="classKCalCore_1_1CalFormat.html#a94637dc2964f1ea8eeb2b1103997f665">application</a>, const QString &productID)</td></tr> <tr class="separator:a7ea8ed2974cc331baaa1e0f793e96fe8 inherit pub_static_methods_classKCalCore_1_1CalFormat"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>vCalendar format implementation. </p> <p>This class implements the vCalendar format. It provides methods for loading/saving/converting vCalendar format data into the internal representation as <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> and Incidences. </p> <p>Definition at line <a class="el" href="vcalformat_8h_source.html#l00069">69</a> of file <a class="el" href="vcalformat_8h_source.html">vcalformat.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a41d63befc02244711be3e4c8a6ce8195"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">VCalFormat::VCalFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor a new vCalendar Format object. </p> <p>Private class that helps to provide binary compatibility between releases.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00088">88</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="aad1ee0c2c055fcd5d8aa9305b8701451"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">VCalFormat::~VCalFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00098">98</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aee8c6d81ab33a46e0fb46562a6f25e44"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const char * VCalFormat::dayFromNum </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>day</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a number 0 - 6 and returns the two letter string of that day, i.e. </p> <p>MO, TU, WE, etc.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">day</td><td>number of the day to get a two letter name for. Range <code>0</code> - <code>6</code> </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKCalCore_1_1VCalFormat.html#af7d8e3beec13136ed2d21dd9c40ddc19" title="Converts a two letter representation of the day (i.e.">numFromDay()</a>. </dd></dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02551">2551</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a933ce27577b0985e81a0ac12851ecf96"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">VObject * VCalFormat::eventToVEvent </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Event.html#a46fb81154c27838046fb7a8af53a7f54">Event::Ptr</a> & </td> <td class="paramname"><em>event</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Translates an <a class="el" href="classKCalCore_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> into a VEvent-type VObject and returns a pointer to it. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">event</td><td>is a pointer to a valid <a class="el" href="classKCalCore_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> object. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00656">656</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a143f45b754a99debe313db0b7bf8a3e5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">VObject * VCalFormat::eventToVTodo </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Todo.html#a550c3c48a0e569879d4274dffc6713e2">Todo::Ptr</a> & </td> <td class="paramname"><em>todo</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Translates a <a class="el" href="classKCalCore_1_1Todo.html" title="Provides a To-do in the sense of RFC2445.">Todo</a> into a VTodo-type VObject and return pointer. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">todo</td><td>is a pointer to a valid <a class="el" href="classKCalCore_1_1Todo.html" title="Provides a To-do in the sense of RFC2445.">Todo</a> object. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00314">314</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a5288df362995e30d48d85a900ba359fb"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool VCalFormat::fromRawString </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</a> & </td> <td class="paramname"><em>calendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QByteArray & </td> <td class="paramname"><em>string</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>deleted</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"><em>notebook</em> = <code>QString()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <p>This is an overload used for efficient reading to avoid utf8 conversions, which are expensive when reading from disk.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> to be loaded. </td></tr> <tr><td class="paramname">string</td><td>is the QByteArray containing the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> data. </td></tr> <tr><td class="paramname">deleted</td><td>use deleted incidences </td></tr> <tr><td class="paramname">notebook</td><td>notebook uid</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if successful; false otherwise. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKCalCore_1_1CalFormat.html#ae2bf44371d4b1e47f6f51350ec35b008" title="Loads a calendar from a string.">fromString()</a>, <a class="el" href="classKCalCore_1_1CalFormat.html#a2e888f68b0ded13d30fcb7ce0a31ad59" title="Returns the calendar as a string.">toString()</a>. </dd></dl> <p>Implements <a class="el" href="classKCalCore_1_1CalFormat.html#a205eeb2001d81c1abdfdebafaf8bc1e3">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00206">206</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a41aa54f70fdf3451dcf7da8866ddfea4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool VCalFormat::fromString </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</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>string</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>deleted</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"><em>notebook</em> = <code>QString()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> to be loaded. </td></tr> <tr><td class="paramname">string</td><td>is the QString containing the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> data. </td></tr> <tr><td class="paramname">deleted</td><td>use deleted incidences </td></tr> <tr><td class="paramname">notebook</td><td>notebook uid</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if successful; false otherwise. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKCalCore_1_1CalFormat.html#a205eeb2001d81c1abdfdebafaf8bc1e3" title="Parses a utf8 encoded string, returning the first iCal component encountered in that string...">fromRawString()</a>, <a class="el" href="classKCalCore_1_1CalFormat.html#a2e888f68b0ded13d30fcb7ce0a31ad59" title="Returns the calendar as a string.">toString()</a>. </dd></dl> <p>Implements <a class="el" href="classKCalCore_1_1CalFormat.html#ae2bf44371d4b1e47f6f51350ec35b008">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00200">200</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="adf3e4fe07a9986be1804df2b745a0884"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">KDateTime VCalFormat::ISOToKDateTime </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>dtStr</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a string in YYYYMMDDTHHMMSS format and returns a valid KDateTime. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dtStr</td><td>is a QString containing the date to convert. If this value is invalid, then KDateTime() is returned. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02165">2165</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a92281ec37b2d3a3e14ce8bd9cae6b3a6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QDate VCalFormat::ISOToQDate </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>dtStr</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a string in the YYYYMMDD format and returns a valid QDate. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dtStr</td><td>is a QString containing the date to convert. If this value is invalid, then KDateTime() is returned. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02194">2194</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a3825cf180d8c8a6e70564d38e495607c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QString VCalFormat::kDateTimeToISO </td> <td>(</td> <td class="paramtype">const KDateTime & </td> <td class="paramname"><em>date</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>zulu</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a KDateTime and returns a string in format YYYYMMDDTHHMMSS. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>is the date to format. </td></tr> <tr><td class="paramname">zulu</td><td>if true, then shift the date to UTC. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02137">2137</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a11689657adc79e5a8314aaaef0acbd8c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool VCalFormat::load </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> to be loaded. </td></tr> <tr><td class="paramname">fileName</td><td>is the name of the disk file containing the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> data.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if successful; false otherwise. </dd></dl> <p>Implements <a class="el" href="classKCalCore_1_1CalFormat.html#abe62c8505c5de53f25a2480713193fc8">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00103">103</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="af7d8e3beec13136ed2d21dd9c40ddc19"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int VCalFormat::numFromDay </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>day</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Converts a two letter representation of the day (i.e. </p> <p>MO, TU, WE, etc) and returns a number 0-6 corresponding to that ordinal day of the week. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">day</td><td>is the QString containing the two letter day representation. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKCalCore_1_1VCalFormat.html#aee8c6d81ab33a46e0fb46562a6f25e44" title="Takes a number 0 - 6 and returns the two letter string of that day, i.e.">dayFromNum()</a>. </dd></dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02558">2558</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="ad2938845939ec8858828742c52fef954"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QString VCalFormat::parseDst </td> <td>(</td> <td class="paramtype">QByteArray & </td> <td class="paramname"><em>timezone</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse DAYLIGHT tag from vtimezone. </p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02103">2103</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a0d4c5dad621a6762f9a0c1a4cb2f8f50"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QString VCalFormat::parseTZ </td> <td>(</td> <td class="paramtype">const QByteArray & </td> <td class="paramname"><em>timezone</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse TZ tag from vtimezone. </p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02096">2096</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a6ca78bb47c3ae5aa26e71d3f9873a434"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool VCalFormat::parseTZOffsetISO8601 </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"><em>result</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse one of the myriad of ISO8601 timezone offset formats, e.g. </p> <p>+- hh : mm +- hh mm +- hh</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>string to be parsed. </td></tr> <tr><td class="paramname">result</td><td>timezone offset in seconds, if parse succeeded. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Whether the parse succeeded or not. </dd></dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02205">2205</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a101535594a22d0e5ac6020901c65007b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void VCalFormat::populate </td> <td>(</td> <td class="paramtype">VObject * </td> <td class="paramname"><em>vcal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>deleted</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"><em>notebook</em> = <code>QString()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a vCalendar tree of VObjects, and puts all of them that have the "event" property into the dictionary, todos in the todo-list, etc. </p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02267">2267</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a25da33f92c15d066d834e0176af27357"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QString VCalFormat::qDateToISO </td> <td>(</td> <td class="paramtype">const QDate & </td> <td class="paramname"><em>date</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Takes a QDate and returns a string in the format YYYYMMDDTHHMMSS. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>is the date to format. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02124">2124</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="abb101f129918e9a0d1a40035e04f2b34"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98">Attendee::PartStat</a> VCalFormat::readStatus </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Converts a status string into an <a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98" title="The different types of participant status.">Attendee::PartStat</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>is a null-terminated character string containing the status to convert.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a valid <a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98" title="The different types of participant status.">Attendee::PartStat</a>. If the string provided is empty, null, or the contents are unrecognized, then <a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98a61afc39fd794de4e114fd53a0ff3f206" title="Event, to-do or journal needs action (default)">Attendee::NeedsAction</a> is returned. </dd></dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02585">2585</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="afb691b3ae963a55d4976298e564a82d1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool VCalFormat::save </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> containing the data to be saved. </td></tr> <tr><td class="paramname">fileName</td><td>is the name of the file to write the calendar data.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if successful; false otherwise. </dd></dl> <p>Implements <a class="el" href="classKCalCore_1_1CalFormat.html#ad41c57673f6d7e7e7e98303fc356c68a">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00134">134</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="ae99dcc21ddf1497edc7daa2813a3f638"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QString VCalFormat::toString </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKCalCore_1_1Calendar.html#a347780ed011ca3e30f816a34f75d72bf">Calendar::Ptr</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>notebook</em> = <code>QString()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>deleted</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> containing the data to be saved. </td></tr> <tr><td class="paramname">notebook</td><td>uid use only incidences with given notebook </td></tr> <tr><td class="paramname">deleted</td><td>use deleted incidences</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a QString containing the <a class="el" href="classKCalCore_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> data if successful; an empty string otherwise. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKCalCore_1_1CalFormat.html#ae2bf44371d4b1e47f6f51350ec35b008" title="Loads a calendar from a string.">fromString()</a>, <a class="el" href="classKCalCore_1_1CalFormat.html#a205eeb2001d81c1abdfdebafaf8bc1e3" title="Parses a utf8 encoded string, returning the first iCal component encountered in that string...">fromRawString()</a>. </dd></dl> <p>Implements <a class="el" href="classKCalCore_1_1CalFormat.html#a2e888f68b0ded13d30fcb7ce0a31ad59">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l00235">235</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a9631c5387e6ca558e89f22335309f0fd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCalCore_1_1Event.html#a46fb81154c27838046fb7a8af53a7f54">Event::Ptr</a> VCalFormat::VEventToEvent </td> <td>(</td> <td class="paramtype">VObject * </td> <td class="paramname"><em>vevent</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Translates a VObject into a <a class="el" href="classKCalCore_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> and returns a pointer to it. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">vevent</td><td>is a pointer to a valid VObject object. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l01520">1520</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a7a3c6e1b2d04f79564713279bcbde4d3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void VCalFormat::virtual_hook </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>data</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">id</td><td>is any integer unique to this class which we will use to identify the method to be called. </td></tr> <tr><td class="paramname">data</td><td>is a pointer to some glob of data, typically a struct. </td></tr> </table> </dd> </dl> <p>Reimplemented from <a class="el" href="classKCalCore_1_1CalFormat.html#a4c814bfbabd87a88edca99da44d6dc61">KCalCore::CalFormat</a>.</p> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02681">2681</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a3a2c387ed7b64cb393f37e9f857e909d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKCalCore_1_1Todo.html#a550c3c48a0e569879d4274dffc6713e2">Todo::Ptr</a> VCalFormat::VTodoToEvent </td> <td>(</td> <td class="paramtype">VObject * </td> <td class="paramname"><em>vtodo</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Translates a VObject of the TODO type into an <a class="el" href="classKCalCore_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">vtodo</td><td>is a pointer to a valid VObject object. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l01029">1029</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <a class="anchor" id="a023845968263219db160e27bd70c853a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QByteArray VCalFormat::writeStatus </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98">Attendee::PartStat</a> </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Converts an <a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98" title="The different types of participant status.">Attendee::PartStat</a> into a QByteArray string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>is the <a class="el" href="classKCalCore_1_1Attendee.html#ae43010f8061ab467505ea4731e5dcd98" title="The different types of participant status.">Attendee::PartStat</a> to convert.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a QByteArray containing the status string. </dd></dl> <p>Definition at line <a class="el" href="vcalformat_8cpp_source.html#l02617">2617</a> of file <a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="vcalformat_8h_source.html">vcalformat.h</a></li> <li><a class="el" href="vcalformat_8cpp_source.html">vcalformat.cpp</a></li> </ul> </div><!-- contents --> <div class="copyrights"> This file is part of the KDE documentation.<br/> Documentation copyright © 1996-2013 The KDE developers.<br/> Generated on Fri Jul 12 2013 16:48:01 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.3.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2006 <p> KDE's <a href="http://techbase.kde.org/Policies/Library_Documentation_Policy">Doxygen guidelines</a> are available online. </p> </div> </div> </div> </div> <div id="left"> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">KCalCore Library</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KCalCore Library"</a> </div></div> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li><li><a href="globals.html">File Members</a></li><li><a href="pages.html">Related Pages</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="classKCalCore_1_1Alarm.html">kcalcore::alarm</option>, <option value="classKCalCore_1_1Attachment.html">kcalcore::attachment</option>, <option value="classKCalCore_1_1Attendee.html">kcalcore::attendee</option>, <option value="classKCalCore_1_1Calendar.html">kcalcore::calendar</option>, <option value="classKCalCore_1_1Calendar_1_1CalendarObserver.html">kcalcore::calendar::calendarobserver</option>, <option value="classKCalCore_1_1CalFilter.html">kcalcore::calfilter</option>, <option value="classKCalCore_1_1CalFormat.html">kcalcore::calformat</option>, <option value="classKCalCore_1_1CalStorage.html">kcalcore::calstorage</option>, <option value="classKCalCore_1_1Compat.html">kcalcore::compat</option>, <option value="classKCalCore_1_1Compat32PrereleaseVersions.html">kcalcore::compat32prereleaseversions</option>, <option value="classKCalCore_1_1CompatDecorator.html">kcalcore::compatdecorator</option>, <option value="classKCalCore_1_1CompatFactory.html">kcalcore::compatfactory</option>, <option value="classKCalCore_1_1CompatOutlook9.html">kcalcore::compatoutlook9</option>, <option value="classKCalCore_1_1CompatPre31.html">kcalcore::compatpre31</option>, <option value="classKCalCore_1_1CompatPre32.html">kcalcore::compatpre32</option>, <option value="classKCalCore_1_1CompatPre34.html">kcalcore::compatpre34</option>, <option value="classKCalCore_1_1CompatPre35.html">kcalcore::compatpre35</option>, <option value="classKCalCore_1_1CompatPre410.html">kcalcore::compatpre410</option>, <option value="classKCalCore_1_1CustomProperties.html">kcalcore::customproperties</option>, <option value="classKCalCore_1_1Duration.html">kcalcore::duration</option>, <option value="classKCalCore_1_1Event.html">kcalcore::event</option>, <option value="classKCalCore_1_1Exception.html">kcalcore::exception</option>, <option value="classKCalCore_1_1FileStorage.html">kcalcore::filestorage</option>, <option value="classKCalCore_1_1FreeBusy.html">kcalcore::freebusy</option>, <option value="classKCalCore_1_1FreeBusyCache.html">kcalcore::freebusycache</option>, <option value="classKCalCore_1_1FreeBusyPeriod.html">kcalcore::freebusyperiod</option>, <option value="classKCalCore_1_1FreeBusyUrlStore.html">kcalcore::freebusyurlstore</option>, <option value="classKCalCore_1_1ICalFormat.html">kcalcore::icalformat</option>, <option value="classKCalCore_1_1ICalFormatImpl.html">kcalcore::icalformatimpl</option>, <option value="classKCalCore_1_1ICalTimeZone.html">kcalcore::icaltimezone</option>, <option value="classKCalCore_1_1ICalTimeZoneBackend.html">kcalcore::icaltimezonebackend</option>, <option value="classKCalCore_1_1ICalTimeZoneData.html">kcalcore::icaltimezonedata</option>, <option value="classKCalCore_1_1ICalTimeZones.html">kcalcore::icaltimezones</option>, <option value="classKCalCore_1_1ICalTimeZoneSource.html">kcalcore::icaltimezonesource</option>, <option value="classKCalCore_1_1Incidence.html">kcalcore::incidence</option>, <option value="classKCalCore_1_1IncidenceBase.html">kcalcore::incidencebase</option>, <option value="classKCalCore_1_1IncidenceBase_1_1IncidenceObserver.html">kcalcore::incidencebase::incidenceobserver</option>, <option value="classKCalCore_1_1Journal.html">kcalcore::journal</option>, <option value="classKCalCore_1_1MemoryCalendar.html">kcalcore::memorycalendar</option>, <option value="classKCalCore_1_1Period.html">kcalcore::period</option>, <option value="classKCalCore_1_1Person.html">kcalcore::person</option>, <option value="classKCalCore_1_1Recurrence.html">kcalcore::recurrence</option>, <option value="classKCalCore_1_1RecurrenceRule.html">kcalcore::recurrencerule</option>, <option value="classKCalCore_1_1RecurrenceRule_1_1WDayPos.html">kcalcore::recurrencerule::wdaypos</option>, <option value="classKCalCore_1_1ScheduleMessage.html">kcalcore::schedulemessage</option>, <option value="classKCalCore_1_1SortableList.html">kcalcore::sortablelist</option>, <option value="classKCalCore_1_1Todo.html">kcalcore::todo</option>, <option value="classKCalCore_1_1VCalFormat.html">kcalcore::vcalformat</option>, <option value="classKCalCore_1_1Visitor.html">kcalcore::visitor</option>, </select> </form> </div> --> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">kdepimlibs-4.10.5 API Reference</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kdepimlibs-4.10.5 API Reference"</a> </div></div> <div class="nav_list"> <ul> <li><a href="../../akonadi/html/index.html">akonadi</a></li><li> <a href="../../akonadi/contact/html/index.html">contact</a></li><li> <a href="../../akonadi/kmime/html/index.html">kmime</a></li><li> <a href="../../akonadi/socialutils/html/index.html">socialutils</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kalarmcal/html/index.html">kalarmcal</a></li><li><a href="../../kblog/html/index.html">kblog</a></li><li><a href="../../kcal/html/index.html">kcal</a></li><li><a href="../../kcalcore/html/index.html">kcalcore</a></li><li><a href="../../kcalutils/html/index.html">kcalutils</a></li><li><a href="../../kholidays/html/index.html">kholidays</a></li><li><a href="../../kimap/html/index.html">kimap</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslave/mbox/html/index.html">mbox</a></li><li> <a href="../../kioslave/nntp/html/index.html">nntp</a></li><li><a href="../../kldap/html/index.html">kldap</a></li><li><a href="../../kmbox/html/index.html">kmbox</a></li><li><a href="../../kmime/html/index.html">kmime</a></li><li><a href="../../kontactinterface/html/index.html">kontactinterface</a></li><li><a href="../../kpimidentities/html/index.html">kpimidentities</a></li><li><a href="../../kpimtextedit/html/index.html">kpimtextedit</a></li><li><a href="../../kpimutils/html/index.html">kpimutils</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../ktnef/html/index.html">ktnef</a></li><li><a href="../../kxmlrpcclient/html/index.html">kxmlrpcclient</a></li><li><a href="../../mailtransport/html/index.html">mailtransport</a></li><li><a href="../../microblog/html/index.html">microblog</a></li><li><a href="../../qgpgme/html/index.html">qgpgme</a></li><li><a href="../../syndication/html/index.html">syndication</a></li><li> <a href="../../syndication/atom/html/index.html">atom</a></li><li> <a href="../../syndication/rdf/html/index.html">rdf</a></li><li> <a href="../../syndication/rss2/html/index.html">rss2</a></li> </ul></div></div> <!-- api_searchbox --> </div> </div> <div class="clearer"></div> </div> <div class="clearer"></div> </div> <div id="end_body"></div> <div id="footer"><div id="footer_text"> Report problems with this website to <a href="https://bugs.kde.org/enter_sysadmin_request.cgi?component=api.kde.org">our bug tracking system</a>.<br> Contact the specific authors with questions and comments about the page contents.<p> KDE<sup>®</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>®</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a></p> </div></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-45abe0e0c3bebc77@kde.org">Block me</a> WARNING END --> </body> </html>