<?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>KCal::IncidenceFormatter Namespace 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>KCal 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="namespaceKCal.html">KCal</a></li><li class="navelem"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html">IncidenceFormatter</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">KCal::IncidenceFormatter Namespace Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a5376ced3390923be3b8149f98eefa22b"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a5376ced3390923be3b8149f98eefa22b">dateTimeToString</a> (const KDateTime &date, bool dateOnly=false, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec())</td></tr> <tr class="separator:a5376ced3390923be3b8149f98eefa22b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee2c32a177223668d9530bf5543f2d95"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aee2c32a177223668d9530bf5543f2d95">dateToString</a> (const KDateTime &date, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec())</td></tr> <tr class="separator:aee2c32a177223668d9530bf5543f2d95"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf90184488f03cf0375b1cf9740f15c3"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#acf90184488f03cf0375b1cf9740f15c3">durationString</a> (<a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence)</td></tr> <tr class="separator:acf90184488f03cf0375b1cf9740f15c3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee1c1cd5e27c65fa0c016065ff51adec"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aee1c1cd5e27c65fa0c016065ff51adec">extensiveDisplayStr</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, <a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, const QDate &date=QDate(), KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:aee1c1cd5e27c65fa0c016065ff51adec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4bc3655d975b485ba99427bc2431efd6"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a4bc3655d975b485ba99427bc2431efd6">extensiveDisplayStr</a> (const QString &sourceName, <a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, const QDate &date=QDate(), KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:a4bc3655d975b485ba99427bc2431efd6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af018a3c95595808b824b91701bb41835"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#af018a3c95595808b824b91701bb41835">extensiveDisplayStr</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:af018a3c95595808b824b91701bb41835"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad92b4e0945985957455356f0c07f4541"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#ad92b4e0945985957455356f0c07f4541">extensiveDisplayString</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence)</td></tr> <tr class="separator:ad92b4e0945985957455356f0c07f4541"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a45c72b4bb990af1a596a67e99d1504"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a7a45c72b4bb990af1a596a67e99d1504">formatICalInvitation</a> (QString invitation, <a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, InvitationFormatterHelper *helper)</td></tr> <tr class="separator:a7a45c72b4bb990af1a596a67e99d1504"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab3154b3c8928ad07663cc724055000a6"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#ab3154b3c8928ad07663cc724055000a6">formatICalInvitationNoHtml</a> (QString invitation, <a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, InvitationFormatterHelper *helper)</td></tr> <tr class="separator:ab3154b3c8928ad07663cc724055000a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f56b7fecbcf3d4cb34f0378b6472d25"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a5f56b7fecbcf3d4cb34f0378b6472d25">formatICalInvitationNoHtml</a> (const QString &invitation, <a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, InvitationFormatterHelper *helper, const QString &sender)</td></tr> <tr class="separator:a5f56b7fecbcf3d4cb34f0378b6472d25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaea0b629afa66510ff74842df0d80a67"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aaea0b629afa66510ff74842df0d80a67">formatTNEFInvitation</a> (const QByteArray &tnef, <a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *mCalendar, InvitationFormatterHelper *helper)</td></tr> <tr class="separator:aaea0b629afa66510ff74842df0d80a67"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a73819fe2a8d2d22140207f8c88bf1d71"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a73819fe2a8d2d22140207f8c88bf1d71">mailBodyStr</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:a73819fe2a8d2d22140207f8c88bf1d71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b613eeaf2a0b211f95e4bcfdb64aca8"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a5b613eeaf2a0b211f95e4bcfdb64aca8">mailBodyString</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence)</td></tr> <tr class="separator:a5b613eeaf2a0b211f95e4bcfdb64aca8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6fbd12e1d5c77bff15686480eadb29cc"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a6fbd12e1d5c77bff15686480eadb29cc">msTNEFToVPart</a> (const QByteArray &tnef)</td></tr> <tr class="separator:a6fbd12e1d5c77bff15686480eadb29cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4627a6ede0d43f85140dc02f9e38d2b"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#ab4627a6ede0d43f85140dc02f9e38d2b">recurrenceString</a> (<a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence)</td></tr> <tr class="separator:ab4627a6ede0d43f85140dc02f9e38d2b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a800a1f4d919e4498dfb23c06694ff0d1"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a800a1f4d919e4498dfb23c06694ff0d1">reminderStringList</a> (<a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence, bool shortfmt=true)</td></tr> <tr class="separator:a800a1f4d919e4498dfb23c06694ff0d1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a299a2afd85611107c0f93bb683d7ac36"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a299a2afd85611107c0f93bb683d7ac36">resourceString</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, <a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence)</td></tr> <tr class="separator:a299a2afd85611107c0f93bb683d7ac36"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:add72b105564ba39e122ececf2a892edc"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#add72b105564ba39e122ececf2a892edc">timeToString</a> (const KDateTime &date, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec())</td></tr> <tr class="separator:add72b105564ba39e122ececf2a892edc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b36473438f9014c84e58df425a64f15"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a9b36473438f9014c84e58df425a64f15">toolTipStr</a> (<a class="el" href="classKCal_1_1Calendar.html">Calendar</a> *calendar, <a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, const QDate &date=QDate(), bool richText=true, KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:a9b36473438f9014c84e58df425a64f15"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a65e27c6e98848655ed8fe5153cfcd68b"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a65e27c6e98848655ed8fe5153cfcd68b">toolTipStr</a> (const QString &sourceName, <a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, const QDate &date=QDate(), bool richText=true, KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:a65e27c6e98848655ed8fe5153cfcd68b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab16d10d77dcbbaa00b0767dccd4b5adb"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#ab16d10d77dcbbaa00b0767dccd4b5adb">toolTipStr</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, bool richText=true, KDateTime::Spec spec=KDateTime::Spec())</td></tr> <tr class="separator:ab16d10d77dcbbaa00b0767dccd4b5adb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa9aed9a2367dcf93ee78ff6e0d6491a4"><td class="memItemLeft" align="right" valign="top">KCAL_EXPORT_DEPRECATED QString </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aa9aed9a2367dcf93ee78ff6e0d6491a4">toolTipString</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *incidence, bool richText=true)</td></tr> <tr class="separator:aa9aed9a2367dcf93ee78ff6e0d6491a4"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Provides methods to format Incidences in various ways for display purposes. </p> <p>Helpers that provides several static methods to format an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in different ways: like an HTML representation for KMail, a representation for tool tips, or a representation for a viewer widget. </p> </div><h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a5376ced3390923be3b8149f98eefa22b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::dateTimeToString </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>dateOnly</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>shortfmt</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KDateTime::Spec & </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Build a QString date/time representation of a KDateTime object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>The date to be formatted. </td></tr> <tr><td class="paramname">dateOnly</td><td>If true, don't print the time fields; print the date fields only. </td></tr> <tr><td class="paramname">shortfmt</td><td>If true, display info in short format. </td></tr> <tr><td class="paramname">spec</td><td>Time spec to use. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aee2c32a177223668d9530bf5543f2d95" title="Build a QString date representation of a KDateTime object.">dateToString()</a>, <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#add72b105564ba39e122ececf2a892edc" title="Build a QString time representation of a KDateTime object.">timeToString()</a>. </dd></dl> <dl class="section since"><dt>Since</dt><dd>4.3 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03759">3759</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="aee2c32a177223668d9530bf5543f2d95"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::dateToString </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>shortfmt</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KDateTime::Spec & </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Build a QString date representation of a KDateTime object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>The date to be formatted. </td></tr> <tr><td class="paramname">shortfmt</td><td>If true, display info in short format. </td></tr> <tr><td class="paramname">spec</td><td>Time spec to use. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aee2c32a177223668d9530bf5543f2d95" title="Build a QString date representation of a KDateTime object.">dateToString()</a>, <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a5376ced3390923be3b8149f98eefa22b" title="Build a QString date/time representation of a KDateTime object.">dateTimeToString()</a>. </dd></dl> <dl class="section since"><dt>Since</dt><dd>4.3 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03737">3737</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="acf90184488f03cf0375b1cf9740f15c3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::durationString </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></td> </tr> </table> </div><div class="memdoc"> <p>Returns a duration string computed for the specified <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </p> <p>Only makes sense for Events and Todos. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03834">3834</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="aee1c1cd5e27c65fa0c016065ff51adec"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::extensiveDisplayStr </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"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QDate & </td> <td class="paramname"><em>date</em> = <code>QDate()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a RichText QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a viewer widget. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is a pointer to the <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> that owns the specified <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </td></tr> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">date</td><td>is the QDate for which the string representation should be computed; used mainly for recurring incidences. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.4 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l00991">991</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a4bc3655d975b485ba99427bc2431efd6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::extensiveDisplayStr </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>sourceName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QDate & </td> <td class="paramname"><em>date</em> = <code>QDate()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a RichText QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a viewer widget. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">sourceName</td><td>where the incidence is from (e.g. resource name) </td></tr> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">date</td><td>is the QDate for which the string representation should be computed; used mainly for recurring incidences. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l01008">1008</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="af018a3c95595808b824b91701bb41835"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::extensiveDisplayStr </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a RichText QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a viewer widget. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.2 </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000009">Deprecated:</a></b></dt><dd>use extensiveDisplayStr( Calendar *, IncidenceBase *, KDateTime::Spec ) </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l00976">976</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="ad92b4e0945985957455356f0c07f4541"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::extensiveDisplayString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Create a RichText QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a viewer widget. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> </table> </dd> </dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000010">Deprecated:</a></b></dt><dd>use extensiveDisplayStr( Calendar *, IncidenceBase *, KDateTime::Spec ) </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l00971">971</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a7a45c72b4bb990af1a596a67e99d1504"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::formatICalInvitation </td> <td>(</td> <td class="paramtype">QString </td> <td class="paramname"><em>invitation</em>, </td> </tr> <tr> <td class="paramkey"></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">InvitationFormatterHelper * </td> <td class="paramname"><em>helper</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Deliver an HTML formatted string displaying an invitation. </p> <p>Use the time zone from mCalendar.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">invitation</td><td>a QString containing a string representation of a calendar <a class="el" href="classKCal_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> which will be intrepreted as an invitation. </td></tr> <tr><td class="paramname">calendar</td><td>is a pointer to the <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> that owns the invitation. </td></tr> <tr><td class="paramname">helper</td><td>is a pointer to an InvitationFormatterHelper. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l02743">2743</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="ab3154b3c8928ad07663cc724055000a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::formatICalInvitationNoHtml </td> <td>(</td> <td class="paramtype">QString </td> <td class="paramname"><em>invitation</em>, </td> </tr> <tr> <td class="paramkey"></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">InvitationFormatterHelper * </td> <td class="paramname"><em>helper</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Deliver an HTML formatted string displaying an invitation. </p> <p>Differs from <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a7a45c72b4bb990af1a596a67e99d1504" title="Deliver an HTML formatted string displaying an invitation.">formatICalInvitation()</a> in that invitation details (summary, location, etc) have HTML formatting cleaned. Use the time zone from calendar.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">invitation</td><td>a QString containing a string representation of a calendar <a class="el" href="classKCal_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> which will be intrepreted as an invitation. </td></tr> <tr><td class="paramname">calendar</td><td>is a pointer to the <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> that owns the invitation. </td></tr> <tr><td class="paramname">helper</td><td>is a pointer to an InvitationFormatterHelper. </td></tr> </table> </dd> </dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000012">Deprecated:</a></b></dt><dd>use formatICalInvitationNoHtml(const QString &,<a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> *, InvitationFormatterHelper *,const QString &) instead. </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l02751">2751</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a5f56b7fecbcf3d4cb34f0378b6472d25"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::formatICalInvitationNoHtml </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>invitation</em>, </td> </tr> <tr> <td class="paramkey"></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">InvitationFormatterHelper * </td> <td class="paramname"><em>helper</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"><em>sender</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Deliver an HTML formatted string displaying an invitation. </p> <p>Differs from <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a7a45c72b4bb990af1a596a67e99d1504" title="Deliver an HTML formatted string displaying an invitation.">formatICalInvitation()</a> in that invitation details (summary, location, etc) have HTML formatting cleaned. Use the time zone from calendar.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">invitation</td><td>a QString containing a string representation of a calendar <a class="el" href="classKCal_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> which will be intrepreted as an invitation. </td></tr> <tr><td class="paramname">calendar</td><td>is a pointer to the <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> that owns the invitation. </td></tr> <tr><td class="paramname">helper</td><td>is a pointer to an InvitationFormatterHelper. </td></tr> <tr><td class="paramname">sender</td><td>is a QString containing the email address of the person sending the invitation. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l02759">2759</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="aaea0b629afa66510ff74842df0d80a67"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KCAL_EXPORT_DEPRECATED QString KCal::IncidenceFormatter::formatTNEFInvitation </td> <td>(</td> <td class="paramtype">const QByteArray & </td> <td class="paramname"><em>tnef</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Calendar * </td> <td class="paramname"><em>mCalendar</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">InvitationFormatterHelper * </td> <td class="paramname"><em>helper</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Format a TNEF attachment to an HTML mail. </p> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> </div> </div> <a class="anchor" id="a73819fe2a8d2d22140207f8c88bf1d71"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::mailBodyStr </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in format suitable for including inside a mail message. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.2 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03378">3378</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a5b613eeaf2a0b211f95e4bcfdb64aca8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::mailBodyString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in format suitable for including inside a mail message. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> </table> </dd> </dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000011">Deprecated:</a></b></dt><dd>use <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a73819fe2a8d2d22140207f8c88bf1d71" title="Create a QString representation of an Incidence in format suitable for including inside a mail messag...">mailBodyStr( IncidenceBase *, KDateTime::Spec )</a> </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03373">3373</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a6fbd12e1d5c77bff15686480eadb29cc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KCAL_EXPORT_DEPRECATED QString KCal::IncidenceFormatter::msTNEFToVPart </td> <td>(</td> <td class="paramtype">const QByteArray & </td> <td class="paramname"><em>tnef</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Transform a TNEF attachment to an iCal or vCard. </p> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> </div> </div> <a class="anchor" id="ab4627a6ede0d43f85140dc02f9e38d2b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::recurrenceString </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></td> </tr> </table> </div><div class="memdoc"> <p>Build a pretty QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>'s recurrence info. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> whose recurrence info is to be formatted. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.1 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03409">3409</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a800a1f4d919e4498dfb23c06694ff0d1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QStringList KCal::IncidenceFormatter::reminderStringList </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>shortfmt</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Returns a reminder string computed for the specified <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </p> <p>Each item of the returning QStringList corresponds to a string representation of an reminder belonging to this incidence. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </td></tr> <tr><td class="paramname">shortfmt</td><td>if false, a short version of each reminder is printed; else a longer version of each reminder is printed. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03865">3865</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a299a2afd85611107c0f93bb683d7ac36"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::resourceString </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"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> * </td> <td class="paramname"><em>incidence</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Returns a <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a> Resource label name for the specified <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">calendar</td><td>is a pointer to the <a class="el" href="classKCal_1_1Calendar.html" title="Represents the main calendar class.">Calendar</a>. </td></tr> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a>. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.4 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03784">3784</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="add72b105564ba39e122ececf2a892edc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::timeToString </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>shortfmt</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KDateTime::Spec & </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Build a QString time representation of a KDateTime object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>The date to be formatted. </td></tr> <tr><td class="paramname">shortfmt</td><td>If true, display info in short format. </td></tr> <tr><td class="paramname">spec</td><td>Time spec to use. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#aee2c32a177223668d9530bf5543f2d95" title="Build a QString date representation of a KDateTime object.">dateToString()</a>, <a class="el" href="namespaceKCal_1_1IncidenceFormatter.html#a5376ced3390923be3b8149f98eefa22b" title="Build a QString date/time representation of a KDateTime object.">dateTimeToString()</a>. </dd></dl> <dl class="section since"><dt>Since</dt><dd>4.3 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03720">3720</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a9b36473438f9014c84e58df425a64f15"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::toolTipStr </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"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QDate & </td> <td class="paramname"><em>date</em> = <code>QDate()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>richText</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a tooltip. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">date</td><td>is the QDate for which the toolTip should be computed; used mainly for recurring incidences. </td></tr> <tr><td class="paramname">richText</td><td>if yes, the QString will be created as RichText. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.4 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03198">3198</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="a65e27c6e98848655ed8fe5153cfcd68b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::toolTipStr </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>sourceName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QDate & </td> <td class="paramname"><em>date</em> = <code>QDate()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>richText</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a tooltip. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">sourceName</td><td>where the incidence is from (e.g. resource name) </td></tr> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">date</td><td>is the QDate for which the toolTip should be computed; used mainly for recurring incidences. </td></tr> <tr><td class="paramname">richText</td><td>if yes, the QString will be created as RichText. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.5 </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03211">3211</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="ab16d10d77dcbbaa00b0767dccd4b5adb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::toolTipStr </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>richText</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KDateTime::Spec </td> <td class="paramname"><em>spec</em> = <code>KDateTime::Spec()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a tooltip. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">richText</td><td>if yes, the QString will be created as RichText. </td></tr> <tr><td class="paramname">spec</td><td>is an optional time specification which, when specified, will shift the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> times to different timezones. </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>4.2 </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>use toolTipStr( Calendar *, IncidenceBase *, bool, KDateTime::Spec) </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03187">3187</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> <a class="anchor" id="aa9aed9a2367dcf93ee78ff6e0d6491a4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KCal::IncidenceFormatter::toolTipString </td> <td>(</td> <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> * </td> <td class="paramname"><em>incidence</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>richText</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a QString representation of an <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> in a nice format suitable for using in a tooltip. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">incidence</td><td>is a pointer to the <a class="el" href="classKCal_1_1Incidence.html" title="Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...">Incidence</a> to be formatted. </td></tr> <tr><td class="paramname">richText</td><td>if yes, the QString will be created as RichText. </td></tr> </table> </dd> </dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>use toolTipStr( Calendar *, IncidenceBase *, bool, KDateTime::Spec) </dd></dl> <p>Definition at line <a class="el" href="incidenceformatter_8cpp_source.html#l03181">3181</a> of file <a class="el" href="incidenceformatter_8cpp_source.html">incidenceformatter.cpp</a>.</p> </div> </div> </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:49:33 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">KCal Library</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KCal 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="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="classKCal_1_1Alarm.html">kcal::alarm</option>, <option value="classKCal_1_1AssignmentVisitor.html">kcal::assignmentvisitor</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_1CalendarObserver.html">kcal::calendar::calendarobserver</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_1ComparisonVisitor.html">kcal::comparisonvisitor</option>, <option value="classKCal_1_1Compat.html">kcal::compat</option>, <option value="classKCal_1_1CompatFactory.html">kcal::compatfactory</option>, <option value="classKCal_1_1CompatOutlook9.html">kcal::compatoutlook9</option>, <option value="classKCal_1_1CompatPre31.html">kcal::compatpre31</option>, <option value="classKCal_1_1CompatPre32.html">kcal::compatpre32</option>, <option value="classKCal_1_1CompatPre35.html">kcal::compatpre35</option>, <option value="classKCal_1_1CustomProperties.html">kcal::customproperties</option>, <option value="classKCal_1_1DndFactory.html">kcal::dndfactory</option>, <option value="classKCal_1_1DummyScheduler.html">kcal::dummyscheduler</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_1FreeBusyCache.html">kcal::freebusycache</option>, <option value="classKCal_1_1FreeBusyPeriod.html">kcal::freebusyperiod</option>, <option value="classKCal_1_1HtmlExport.html">kcal::htmlexport</option>, <option value="classKCal_1_1ICalFormat.html">kcal::icalformat</option>, <option value="classKCal_1_1ICalFormatImpl.html">kcal::icalformatimpl</option>, <option value="classKCal_1_1ICalTimeZone.html">kcal::icaltimezone</option>, <option value="classKCal_1_1ICalTimeZoneBackend.html">kcal::icaltimezonebackend</option>, <option value="classKCal_1_1ICalTimeZoneData.html">kcal::icaltimezonedata</option>, <option value="classKCal_1_1ICalTimeZones.html">kcal::icaltimezones</option>, <option value="classKCal_1_1ICalTimeZoneSource.html">kcal::icaltimezonesource</option>, <option value="classKCal_1_1Incidence.html">kcal::incidence</option>, <option value="classKCal_1_1IncidenceBase.html">kcal::incidencebase</option>, <option value="classKCal_1_1IncidenceBase_1_1IncidenceObserver.html">kcal::incidencebase::incidenceobserver</option>, <option value="classKCal_1_1IncidenceBase_1_1Visitor.html">kcal::incidencebase::visitor</option>, <option value="classKCal_1_1Journal.html">kcal::journal</option>, <option value="classKCal_1_1KResult.html">kcal::kresult</option>, <option value="classKCal_1_1KResultError.html">kcal::kresulterror</option>, <option value="classKCal_1_1KResultInProgress.html">kcal::kresultinprogress</option>, <option value="classKCal_1_1KResultOk.html">kcal::kresultok</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_1ResourceLocalDir.html">kcal::resourcelocaldir</option>, <option value="classKCal_1_1ResourceLocalDirConfig.html">kcal::resourcelocaldirconfig</option>, <option value="classKCal_1_1ScheduleMessage.html">kcal::schedulemessage</option>, <option value="classKCal_1_1Scheduler.html">kcal::scheduler</option>, <option value="classKCal_1_1SortableList.html">kcal::sortablelist</option>, <option value="classKCal_1_1Todo.html">kcal::todo</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>