Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 3835

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>libkcal: KCal::CalendarLocal Class Reference (libkcal)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../">API Reference</a>
 / <a href=".">libkcal</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>libkcal</h2>


<!-- Generated by Doxygen 1.5.5 -->
  <div class="navpath"><a class="el" href="namespaceKCal.html">KCal</a>::<a class="el" href="classKCal_1_1CalendarLocal.html">CalendarLocal</a>
  </div>
<div class="contents">
<h1>KCal::CalendarLocal Class Reference</h1><!-- doxytag: class="KCal::CalendarLocal" --><!-- doxytag: inherits="KCal::Calendar" --><code>#include &lt;<a class="el" href="calendarlocal_8h-source.html">calendarlocal.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for KCal::CalendarLocal:</div>
<div class="dynsection">

<p><center><img src="classKCal_1_1CalendarLocal.png" usemap="#KCal::CalendarLocal_map" border="0" alt=""></center>
<map name="KCal::CalendarLocal_map">
<area href="classKCal_1_1Calendar.html" alt="KCal::Calendar" shape="rect" coords="0,56,144,80">
<area href="classKCal_1_1CustomProperties.html" alt="KCal::CustomProperties" shape="rect" coords="0,0,144,24">
</map>
</div>

<p>
<a href="classKCal_1_1CalendarLocal-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This class provides a calendar stored as a local file. 
<p>Definition at line <a class="el" href="calendarlocal_8h-source.html#l00036">36</a> of file <a class="el" href="calendarlocal_8h-source.html">calendarlocal.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#818faf6a0e37cbf636d8d0d339e92681">CalendarLocal</a> (const QString &amp;timeZoneId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#54cd4ef78b62f33d28212b1487eaa342">load</a> (const QString &amp;fileName, <a class="el" href="classKCal_1_1CalFormat.html">CalFormat</a> *format=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#0705e55330b8f3ec85fba32d99c21b86">reload</a> (const QString &amp;tz)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#8575cc8395600c460c88355e155b3eb7">save</a> (const QString &amp;fileName, <a class="el" href="classKCal_1_1CalFormat.html">CalFormat</a> *format=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#9a545de4837453eea733dd61883ca513">close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#f3e60cb4c0a04a7fbd61eea1e44d549f">save</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#92badd294078f18a2c2acbfab8ce10ac">addEvent</a> (<a class="el" href="classKCal_1_1Event.html">Event</a> *event)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#574629efd65cc7032141b5dc389b3713">deleteEvent</a> (<a class="el" href="classKCal_1_1Event.html">Event</a> *event)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#c7ad6e317baa1299516114fd10ee68ce">deleteAllEvents</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1Event.html">Event</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#110d9ec156050c1fd39c5a622d2f8cc1">event</a> (const QString &amp;uid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Event::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#405e9a43400c5aca3bac5d00a3638244">rawEvents</a> (<a class="el" href="namespaceKCal.html#4adb61b1b3687a67349254a53c7a2f21">EventSortField</a> sortField=EventSortUnsorted, <a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a> sortDirection=SortDirectionAscending)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#253549807b55e8c1b603042957dcbf01">addTodo</a> (<a class="el" href="classKCal_1_1Todo.html">Todo</a> *todo)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#622c6857d55a0105b9b4cf59c5354a56">deleteTodo</a> (<a class="el" href="classKCal_1_1Todo.html">Todo</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#684155385b19f62ea6f7ce5a9faa65fa">deleteAllTodos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1Todo.html">Todo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#eb63e714a9239900ee030823e587da67">todo</a> (const QString &amp;uid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Todo::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#72bf6c036b4c2c084e4e02ec43dfff77">rawTodos</a> (<a class="el" href="namespaceKCal.html#055336d90bea8a2c86fde0d94a082162">TodoSortField</a> sortField=TodoSortUnsorted, <a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a> sortDirection=SortDirectionAscending)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Todo::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#a3759e96f79f90dfb6498a615e07472d">rawTodosForDate</a> (const QDate &amp;date)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#971cf2ff3f084317ad6ed81d85e42aa5">addJournal</a> (<a class="el" href="classKCal_1_1Journal.html">Journal</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#45817dcaf523415af54f91b58a56e4b5">deleteJournal</a> (<a class="el" href="classKCal_1_1Journal.html">Journal</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#58a2a5a909afb8baede313092a954b29">deleteAllJournals</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCal_1_1Journal.html">Journal</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#cda1ac06064f0ca4aef676cd57671049">journal</a> (const QString &amp;uid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Journal::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#b8e4d015c64f30b7230ad562640b0647">rawJournals</a> (<a class="el" href="namespaceKCal.html#12e348070fafa27c28e3291db357317f">JournalSortField</a> sortField=JournalSortUnsorted, <a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a> sortDirection=SortDirectionAscending)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Journal::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#1c4dd7db068882d624509c34de49b18e">rawJournalsForDate</a> (const QDate &amp;date)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Alarm::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#2f96393bd0938e66962b01b6fb23cd9e">alarms</a> (const QDateTime &amp;from, const QDateTime &amp;to)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Alarm::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#52445c7d693f19b220154a9676ad32ca">alarmsTo</a> (const QDateTime &amp;to)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Event::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#faebffeafa64f27ddb34a016213c4473">rawEventsForDate</a> (const QDate &amp;date, <a class="el" href="namespaceKCal.html#4adb61b1b3687a67349254a53c7a2f21">EventSortField</a> sortField=EventSortUnsorted, <a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a> sortDirection=SortDirectionAscending)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Event::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#36277171bcba0aee5a21128a6b369100">rawEventsForDate</a> (const QDateTime &amp;qdt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Event::List&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#b6e8785a08da7fedeafd404b1b1cca79">rawEvents</a> (const QDate &amp;start, const QDate &amp;end, bool inclusive=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#78e985d19c0e550f7fa2c5ec86457e8a">setTimeZoneIdViewOnly</a> (const QString &amp;tz)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#bec53fa13090e89bbb92e25d6971ff12">incidenceUpdated</a> (<a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *i)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#a7de8318247afbb24317674c891aaa79">insertEvent</a> (<a class="el" href="classKCal_1_1Event.html">Event</a> *event)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#ca3de77324b8e3afbb2ddf25d88919ae">appendAlarms</a> (Alarm::List &amp;alarms, <a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence, const QDateTime &amp;from, const QDateTime &amp;to)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCal_1_1CalendarLocal.html#cf32ced98028c9e06f1e3aa5e5eb9df2">appendRecurringAlarms</a> (Alarm::List &amp;alarms, <a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *incidence, const QDateTime &amp;from, const QDateTime &amp;to)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="818faf6a0e37cbf636d8d0d339e92681"></a><!-- doxytag: member="KCal::CalendarLocal::CalendarLocal" ref="818faf6a0e37cbf636d8d0d339e92681" args="(const QString &amp;timeZoneId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CalendarLocal::CalendarLocal           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>timeZoneId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a new calendar, with variables initialized to sane values. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00044">44</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="54cd4ef78b62f33d28212b1487eaa342"></a><!-- doxytag: member="KCal::CalendarLocal::load" ref="54cd4ef78b62f33d28212b1487eaa342" args="(const QString &amp;fileName, CalFormat *format=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::load           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKCal_1_1CalFormat.html">CalFormat</a> *&nbsp;</td>
          <td class="paramname"> <em>format</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads a calendar on disk in vCalendar or iCalendar format into the current calendar. 
<p>
Incidences already present are preserved. If an event of the file to be loaded has the same unique id as an incidence already present the new incidence is ignored.<p>
To load a <a class="el" href="classKCal_1_1CalendarLocal.html" title="This class provides a calendar stored as a local file.">CalendarLocal</a> object from a file without preserving existing incidences call <a class="el" href="classKCal_1_1CalendarLocal.html#9a545de4837453eea733dd61883ca513" title="Clears out the current calendar, freeing all used memory etc.">close()</a> before <a class="el" href="classKCal_1_1CalendarLocal.html#54cd4ef78b62f33d28212b1487eaa342" title="Loads a calendar on disk in vCalendar or iCalendar format into the current calendar...">load()</a>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if successful, false on error. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>the name of the calendar on disk. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>the format to use. If 0, iCalendar and vCalendar will be used </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00062">62</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0705e55330b8f3ec85fba32d99c21b86"></a><!-- doxytag: member="KCal::CalendarLocal::reload" ref="0705e55330b8f3ec85fba32d99c21b86" args="(const QString &amp;tz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::reload           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tz</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reloads the contents of the storage into memory. 
<p>
The associated file name must be known, in other words a previous <a class="el" href="classKCal_1_1CalendarLocal.html#54cd4ef78b62f33d28212b1487eaa342" title="Loads a calendar on disk in vCalendar or iCalendar format into the current calendar...">load()</a> must have been executed. <dl class="return" compact><dt><b>Returns:</b></dt><dd>success or failure </dd></dl>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#bbab545ab2f5407c6c9ea25c5add50a6">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00069">69</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8575cc8395600c460c88355e155b3eb7"></a><!-- doxytag: member="KCal::CalendarLocal::save" ref="8575cc8395600c460c88355e155b3eb7" args="(const QString &amp;fileName, CalFormat *format=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::save           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKCal_1_1CalFormat.html">CalFormat</a> *&nbsp;</td>
          <td class="paramname"> <em>format</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Writes out the calendar to disk in the specified <em>format</em>. 
<p>
<a class="el" href="classKCal_1_1CalendarLocal.html" title="This class provides a calendar stored as a local file.">CalendarLocal</a> takes ownership of the <a class="el" href="classKCal_1_1CalFormat.html" title="This is the base class for calendar formats.">CalFormat</a> object. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>the name of the file </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>the format to use </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if successful, false on error. </dd></dl>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00080">80</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="9a545de4837453eea733dd61883ca513"></a><!-- doxytag: member="KCal::CalendarLocal::close" ref="9a545de4837453eea733dd61883ca513" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::close           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clears out the current calendar, freeing all used memory etc. 
<p>
etc. 
<p>Implements <a class="el" href="classKCal_1_1Calendar.html#d6d1e7529785af4133fbacfae48caad6">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00092">92</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f3e60cb4c0a04a7fbd61eea1e44d549f"></a><!-- doxytag: member="KCal::CalendarLocal::save" ref="f3e60cb4c0a04a7fbd61eea1e44d549f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCal::CalendarLocal::save           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sync changes in memory to persistant storage. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#6cf7510a33cdc0ee2e57c67f392bf6f6">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8h-source.html#l00081">81</a> of file <a class="el" href="calendarlocal_8h-source.html">calendarlocal.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="92badd294078f18a2c2acbfab8ce10ac"></a><!-- doxytag: member="KCal::CalendarLocal::addEvent" ref="92badd294078f18a2c2acbfab8ce10ac" args="(Event *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::addEvent           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Event.html">Event</a> *&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add <a class="el" href="classKCal_1_1Event.html" title="This class provides an Event in the sense of RFC2445.">Event</a> to calendar. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#4da4abd5a47d63fd1c2933faff7fdf3f">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00108">108</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="574629efd65cc7032141b5dc389b3713"></a><!-- doxytag: member="KCal::CalendarLocal::deleteEvent" ref="574629efd65cc7032141b5dc389b3713" args="(Event *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::deleteEvent           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Event.html">Event</a> *&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes an event from this calendar. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#90334784dee3d52580c1363dca149514">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00121">121</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c7ad6e317baa1299516114fd10ee68ce"></a><!-- doxytag: member="KCal::CalendarLocal::deleteAllEvents" ref="c7ad6e317baa1299516114fd10ee68ce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::deleteAllEvents           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes all events from this calendar. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00136">136</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="110d9ec156050c1fd39c5a622d2f8cc1"></a><!-- doxytag: member="KCal::CalendarLocal::event" ref="110d9ec156050c1fd39c5a622d2f8cc1" args="(const QString &amp;uid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCal_1_1Event.html">Event</a> * CalendarLocal::event           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>uid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves an event on the basis of the unique string ID. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#79496465b9954a2e032805dcee3348a9">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00150">150</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="405e9a43400c5aca3bac5d00a3638244"></a><!-- doxytag: member="KCal::CalendarLocal::rawEvents" ref="405e9a43400c5aca3bac5d00a3638244" args="(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Event::List CalendarLocal::rawEvents           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#4adb61b1b3687a67349254a53c7a2f21">EventSortField</a>&nbsp;</td>
          <td class="paramname"> <em>sortField</em> = <code>EventSortUnsorted</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a>&nbsp;</td>
          <td class="paramname"> <em>sortDirection</em> = <code>SortDirectionAscending</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return unfiltered list of all events in calendar. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#a03685d1878387b4b39769a7b967a232">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00497">497</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="253549807b55e8c1b603042957dcbf01"></a><!-- doxytag: member="KCal::CalendarLocal::addTodo" ref="253549807b55e8c1b603042957dcbf01" args="(Todo *todo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::addTodo           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Todo.html">Todo</a> *&nbsp;</td>
          <td class="paramname"> <em>todo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a todo to the todolist. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#63b7d29fa1d80998a11a1518fc82c0d0">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00156">156</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="622c6857d55a0105b9b4cf59c5354a56"></a><!-- doxytag: member="KCal::CalendarLocal::deleteTodo" ref="622c6857d55a0105b9b4cf59c5354a56" args="(Todo *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::deleteTodo           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Todo.html">Todo</a> *&nbsp;</td>
          <td class="paramname"> <em>todo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove a todo from the todolist. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#b5e1e649b9862fa016f5e8a4ef46c9a7">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00172">172</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="684155385b19f62ea6f7ce5a9faa65fa"></a><!-- doxytag: member="KCal::CalendarLocal::deleteAllTodos" ref="684155385b19f62ea6f7ce5a9faa65fa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::deleteAllTodos           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes all todos from this calendar. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00188">188</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="eb63e714a9239900ee030823e587da67"></a><!-- doxytag: member="KCal::CalendarLocal::todo" ref="eb63e714a9239900ee030823e587da67" args="(const QString &amp;uid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCal_1_1Todo.html">Todo</a> * CalendarLocal::todo           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>uid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Searches todolist for an event with this unique string identifier, returns a pointer or null. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#7130bd9ec592f5d1538b4d0b3f1b1332">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00207">207</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="72bf6c036b4c2c084e4e02ec43dfff77"></a><!-- doxytag: member="KCal::CalendarLocal::rawTodos" ref="72bf6c036b4c2c084e4e02ec43dfff77" args="(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Todo::List CalendarLocal::rawTodos           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#055336d90bea8a2c86fde0d94a082162">TodoSortField</a>&nbsp;</td>
          <td class="paramname"> <em>sortField</em> = <code>TodoSortUnsorted</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a>&nbsp;</td>
          <td class="paramname"> <em>sortDirection</em> = <code>SortDirectionAscending</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return list of all todos. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#c95bdb0d0e9399280396d1ff26a8377d">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00201">201</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="a3759e96f79f90dfb6498a615e07472d"></a><!-- doxytag: member="KCal::CalendarLocal::rawTodosForDate" ref="a3759e96f79f90dfb6498a615e07472d" args="(const QDate &amp;date)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Todo::List CalendarLocal::rawTodosForDate           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>date</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns list of todos due on the specified date. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#0c9a6c03166e1b3989c57600da03033f">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00217">217</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="971cf2ff3f084317ad6ed81d85e42aa5"></a><!-- doxytag: member="KCal::CalendarLocal::addJournal" ref="971cf2ff3f084317ad6ed81d85e42aa5" args="(Journal *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::addJournal           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Journal.html">Journal</a> *&nbsp;</td>
          <td class="paramname"> <em>journal</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a <a class="el" href="classKCal_1_1Journal.html" title="This class provides a Journal in the sense of RFC2445.">Journal</a> entry to calendar. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#1d58b2f34f52d5163e3b734c789b32e5">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00506">506</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="45817dcaf523415af54f91b58a56e4b5"></a><!-- doxytag: member="KCal::CalendarLocal::deleteJournal" ref="45817dcaf523415af54f91b58a56e4b5" args="(Journal *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CalendarLocal::deleteJournal           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Journal.html">Journal</a> *&nbsp;</td>
          <td class="paramname"> <em>journal</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove a <a class="el" href="classKCal_1_1Journal.html" title="This class provides a Journal in the sense of RFC2445.">Journal</a> from the calendar. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#b7e6c102509b20e403b5fb96e98e5718">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00524">524</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="58a2a5a909afb8baede313092a954b29"></a><!-- doxytag: member="KCal::CalendarLocal::deleteAllJournals" ref="58a2a5a909afb8baede313092a954b29" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::deleteAllJournals           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes all journals from this calendar. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00537">537</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="cda1ac06064f0ca4aef676cd57671049"></a><!-- doxytag: member="KCal::CalendarLocal::journal" ref="cda1ac06064f0ca4aef676cd57671049" args="(const QString &amp;uid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCal_1_1Journal.html">Journal</a> * CalendarLocal::journal           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>uid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return <a class="el" href="classKCal_1_1Journal.html" title="This class provides a Journal in the sense of RFC2445.">Journal</a> with given UID. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#9fa973297b596cd4dc32c184b8bb9d4d">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00549">549</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b8e4d015c64f30b7230ad562640b0647"></a><!-- doxytag: member="KCal::CalendarLocal::rawJournals" ref="b8e4d015c64f30b7230ad562640b0647" args="(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Journal::List CalendarLocal::rawJournals           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#12e348070fafa27c28e3291db357317f">JournalSortField</a>&nbsp;</td>
          <td class="paramname"> <em>sortField</em> = <code>JournalSortUnsorted</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a>&nbsp;</td>
          <td class="paramname"> <em>sortDirection</em> = <code>SortDirectionAscending</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return list of all journals. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#1aef8f405e800d00fd23d84ea33dacfc">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00559">559</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="1c4dd7db068882d624509c34de49b18e"></a><!-- doxytag: member="KCal::CalendarLocal::rawJournalsForDate" ref="1c4dd7db068882d624509c34de49b18e" args="(const QDate &amp;date)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Journal::List CalendarLocal::rawJournalsForDate           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>date</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get unfiltered journals for a given date. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#d6faef93706c1f51db05448f8fa8e4db">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00564">564</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2f96393bd0938e66962b01b6fb23cd9e"></a><!-- doxytag: member="KCal::CalendarLocal::alarms" ref="2f96393bd0938e66962b01b6fb23cd9e" args="(const QDateTime &amp;from, const QDateTime &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Alarm::List CalendarLocal::alarms           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return all alarms, which ocur in the given time interval. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#47a9849973a69ced347748e0f8900be6">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00237">237</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="52445c7d693f19b220154a9676ad32ca"></a><!-- doxytag: member="KCal::CalendarLocal::alarmsTo" ref="52445c7d693f19b220154a9676ad32ca" args="(const QDateTime &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Alarm::List CalendarLocal::alarmsTo           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>to</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return all alarms, which ocur before given date. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00232">232</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="faebffeafa64f27ddb34a016213c4473"></a><!-- doxytag: member="KCal::CalendarLocal::rawEventsForDate" ref="faebffeafa64f27ddb34a016213c4473" args="(const QDate &amp;date, EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Event::List CalendarLocal::rawEventsForDate           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#4adb61b1b3687a67349254a53c7a2f21">EventSortField</a>&nbsp;</td>
          <td class="paramname"> <em>sortField</em> = <code>EventSortUnsorted</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a>&nbsp;</td>
          <td class="paramname"> <em>sortDirection</em> = <code>SortDirectionAscending</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Builds and then returns a list of all events that match for the date specified. 
<p>
useful for dayView, etc. etc. 
<p>Implements <a class="el" href="classKCal_1_1Calendar.html#2795b002078f67bd7246b3148efafc23">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00380">380</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="36277171bcba0aee5a21128a6b369100"></a><!-- doxytag: member="KCal::CalendarLocal::rawEventsForDate" ref="36277171bcba0aee5a21128a6b369100" args="(const QDateTime &amp;qdt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Event::List CalendarLocal::rawEventsForDate           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>qdt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get unfiltered events for date <em>qdt</em>. 
<p>

<p>Implements <a class="el" href="classKCal_1_1Calendar.html#a8b9671ec5e4927a18459d75f2f9fe0a">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00492">492</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b6e8785a08da7fedeafd404b1b1cca79"></a><!-- doxytag: member="KCal::CalendarLocal::rawEvents" ref="b6e8785a08da7fedeafd404b1b1cca79" args="(const QDate &amp;start, const QDate &amp;end, bool inclusive=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Event::List CalendarLocal::rawEvents           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>inclusive</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get unfiltered events in a range of dates. 
<p>
If inclusive is set to true, only events are returned, which are completely included in the range. If inclusive is set to false, all events which overlap the range are returned. An event's entire time span is considered in evaluating whether it should be returned. For a non-recurring event, its span is from its start to its end date. For a recurring event, its time span is from its first to its last recurrence. 
<p>Implements <a class="el" href="classKCal_1_1Calendar.html#71b80ef0c726ce2c2dda59d5e8335b0b">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00414">414</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="78e985d19c0e550f7fa2c5ec86457e8a"></a><!-- doxytag: member="KCal::CalendarLocal::setTimeZoneIdViewOnly" ref="78e985d19c0e550f7fa2c5ec86457e8a" args="(const QString &amp;tz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::setTimeZoneIdViewOnly           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tz</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the timezone of the calendar to be used for interpreting the events in the calendar. 
<p>
This requires that the calendar is saved first, so the user is asked whether he wants to do that, or keep the timezone as is. 
<p>Implements <a class="el" href="classKCal_1_1Calendar.html#2145646024cf3620c88e52b05ac123c1">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00579">579</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="bec53fa13090e89bbb92e25d6971ff12"></a><!-- doxytag: member="KCal::CalendarLocal::incidenceUpdated" ref="bec53fa13090e89bbb92e25d6971ff12" args="(IncidenceBase *i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::incidenceUpdated           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1IncidenceBase.html">IncidenceBase</a> *&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notification function of IncidenceBase::Observer. 
<p>

<p>Reimplemented from <a class="el" href="classKCal_1_1Calendar.html#32964dad82d469f43ee7f44dc5f7d78f">KCal::Calendar</a>.</p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00353">353</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="a7de8318247afbb24317674c891aaa79"></a><!-- doxytag: member="KCal::CalendarLocal::insertEvent" ref="a7de8318247afbb24317674c891aaa79" args="(Event *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::insertEvent           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Event.html">Event</a> *&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
inserts an event into its "proper place" in the calendar. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00367">367</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="ca3de77324b8e3afbb2ddf25d88919ae"></a><!-- doxytag: member="KCal::CalendarLocal::appendAlarms" ref="ca3de77324b8e3afbb2ddf25d88919ae" args="(Alarm::List &amp;alarms, Incidence *incidence, const QDateTime &amp;from, const QDateTime &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::appendAlarms           </td>
          <td>(</td>
          <td class="paramtype">Alarm::List &amp;&nbsp;</td>
          <td class="paramname"> <em>alarms</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *&nbsp;</td>
          <td class="paramname"> <em>incidence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Append alarms of incidence in interval to list of alarms. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00259">259</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="cf32ced98028c9e06f1e3aa5e5eb9df2"></a><!-- doxytag: member="KCal::CalendarLocal::appendRecurringAlarms" ref="cf32ced98028c9e06f1e3aa5e5eb9df2" args="(Alarm::List &amp;alarms, Incidence *incidence, const QDateTime &amp;from, const QDateTime &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalendarLocal::appendRecurringAlarms           </td>
          <td>(</td>
          <td class="paramtype">Alarm::List &amp;&nbsp;</td>
          <td class="paramname"> <em>alarms</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKCal_1_1Incidence.html">Incidence</a> *&nbsp;</td>
          <td class="paramname"> <em>incidence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Append alarms of recurring events in interval to list of alarms. 
<p>

<p>Definition at line <a class="el" href="calendarlocal_8cpp-source.html#l00278">278</a> of file <a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="calendarlocal_8h-source.html">calendarlocal.h</a><li><a class="el" href="calendarlocal_8cpp-source.html">calendarlocal.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>libkcal</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKCal_1_1Alarm.html">kcal::alarm</option>,  <option value="classKCal_1_1Attachment.html">kcal::attachment</option>,  <option value="classKCal_1_1Attendee.html">kcal::attendee</option>,  <option value="classKCal_1_1Calendar.html">kcal::calendar</option>,  <option value="classKCal_1_1Calendar_1_1Observer.html">kcal::calendar::observer</option>,  <option value="classKCal_1_1CalendarLocal.html">kcal::calendarlocal</option>,  <option value="classKCal_1_1CalendarNull.html">kcal::calendarnull</option>,  <option value="classKCal_1_1CalendarResources.html">kcal::calendarresources</option>,  <option value="classKCal_1_1CalFilter.html">kcal::calfilter</option>,  <option value="classKCal_1_1CalFormat.html">kcal::calformat</option>,  <option value="classKCal_1_1CalStorage.html">kcal::calstorage</option>,  <option value="classKCal_1_1Compat.html">kcal::compat</option>,  <option value="classKCal_1_1CompatFactory.html">kcal::compatfactory</option>,  <option value="classKCal_1_1CustomProperties.html">kcal::customproperties</option>,  <option value="classKCal_1_1DndFactory.html">kcal::dndfactory</option>,  <option value="classKCal_1_1Duration.html">kcal::duration</option>,  <option value="classKCal_1_1ErrorFormat.html">kcal::errorformat</option>,  <option value="classKCal_1_1Event.html">kcal::event</option>,  <option value="classKCal_1_1Exception.html">kcal::exception</option>,  <option value="classKCal_1_1FileStorage.html">kcal::filestorage</option>,  <option value="classKCal_1_1FreeBusy.html">kcal::freebusy</option>,  <option value="classKCal_1_1HtmlExport.html">kcal::htmlexport</option>,  <option value="classKCal_1_1ICalDrag.html">kcal::icaldrag</option>,  <option value="classKCal_1_1ICalFormat.html">kcal::icalformat</option>,  <option value="classKCal_1_1Incidence.html">kcal::incidence</option>,  <option value="classKCal_1_1Incidence_1_1AddVisitor.html">kcal::incidence::addvisitor</option>,  <option value="classKCal_1_1Incidence_1_1DeleteVisitor.html">kcal::incidence::deletevisitor</option>,  <option value="classKCal_1_1IncidenceBase.html">kcal::incidencebase</option>,  <option value="classKCal_1_1IncidenceBase_1_1Visitor.html">kcal::incidencebase::visitor</option>,  <option value="classKCal_1_1IncidenceFormatter.html">kcal::incidenceformatter</option>,  <option value="classKCal_1_1Journal.html">kcal::journal</option>,  <option value="classKCal_1_1ListBase.html">kcal::listbase</option>,  <option value="classKCal_1_1Period.html">kcal::period</option>,  <option value="classKCal_1_1Person.html">kcal::person</option>,  <option value="classKCal_1_1QtopiaFormat.html">kcal::qtopiaformat</option>,  <option value="classKCal_1_1Recurrence.html">kcal::recurrence</option>,  <option value="classKCal_1_1RecurrenceRule.html">kcal::recurrencerule</option>,  <option value="classKCal_1_1RecurrenceRule_1_1WDayPos.html">kcal::recurrencerule::wdaypos</option>,  <option value="classKCal_1_1ResourceCached.html">kcal::resourcecached</option>,  <option value="classKCal_1_1ResourceCachedReloadConfig.html">kcal::resourcecachedreloadconfig</option>,  <option value="classKCal_1_1ResourceCachedSaveConfig.html">kcal::resourcecachedsaveconfig</option>,  <option value="classKCal_1_1ResourceCalendar.html">kcal::resourcecalendar</option>,  <option value="classKCal_1_1ResourceLocal.html">kcal::resourcelocal</option>,  <option value="classKCal_1_1ResourceLocalConfig.html">kcal::resourcelocalconfig</option>,  <option value="classKCal_1_1ScheduleMessage.html">kcal::schedulemessage</option>,  <option value="classKCal_1_1Scheduler.html">kcal::scheduler</option>,  <option value="classKCal_1_1Todo.html">kcal::todo</option>,  <option value="classKCal_1_1VCalDrag.html">kcal::vcaldrag</option>,  <option value="classKCal_1_1VCalFormat.html">kcal::vcalformat</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>