Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1384

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativeorganizermodel.cpp -->
  <title>Qt Mobility 1.2: QML OrganizerModel Element</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="http://qt.nokia.com/doc/4.7/qdeclarativeelements.html">QML Elements</a></li>
<li>QML OrganizerModel Element</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QML OrganizerModel Element</h1>
<span class="subtitle"></span>
<!-- $$$OrganizerModel-brief -->
<p>The OrganizerModel element provides access to organizer items from the organizer store. <a href="#details">More...</a></p>
<!-- @@@OrganizerModel -->
<p>This element was introduced in  Mobility 1.1.</p>
<ul>
<li><a href="qml-organizermodel-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-organizermodel.html#autoUpdate-prop">autoUpdate</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#availableManagers-prop">availableManagers</a></b></b> : list&lt;string&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#endPeriod-prop">endPeriod</a></b></b> : date</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#error-prop">error</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#eventOccurrences-prop">eventOccurrences</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#events-prop">events</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#fetchHint-prop">fetchHint</a></b></b> : FetchHint</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#filter-prop">filter</a></b></b> : Filter</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#itemCount-prop">itemCount</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#items-prop">items</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#journals-prop">journals</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#manager-prop">manager</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#managerName-prop">managerName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#notes-prop">notes</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#occurrences-prop">occurrences</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#sortOrders-prop">sortOrders</a></b></b> : list&lt;SortOrder&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#startPeriod-prop">startPeriod</a></b></b> : date</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#todoOccurrences-prop">todoOccurrences</a></b></b> : list&lt;OrganizerItem&gt;</li>
<li class="fn"><b><b><a href="qml-organizermodel.html#todos-prop">todos</a></b></b> : list&lt;OrganizerItem&gt;</li>
</ul>
<a name="methods"></a>
<h2>Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-organizermodel.html#cancelUpdate-method">cancelUpdate</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#containsItems-method">containsItems</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#exportItems-method">exportItems</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#fetchItems-method">fetchItems</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#importItems-method">importItems</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#item-method">item</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#itemIds-method">itemIds</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#removeItem-method">removeItem</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#removeItems-method">removeItems</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#saveItem-method">saveItem</a></b></b></li>
<li class="fn"><b><b><a href="qml-organizermodel.html#update-method">update</a></b></b></li>
</ul>
<!-- $$$OrganizerModel-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>This element is part of the <b>QtMobility.organizer 1.1</b> module.</p>
<p>OrganizerModel provides a model of organizer items from the organizer store. The contents of the model can be specified with <a href="qml-organizermodel.html#filter-prop">filter</a>, <a href="qml-organizermodel.html#sortOrders-prop">sortOrders</a> and <a href="qml-organizermodel.html#fetchHint-prop">fetchHint</a> properties. Whether the model is automatically updated when the store or <a href="organizer.html">organizer</a> item changes, can be controlled with <a href="qml-organizermodel.html#autoUpdate-prop">OrganizerModel::autoUpdate</a> property.</p>
<p>There are two ways of accessing the organizer item data: via the model by using views and delegates, or alternatively via <a href="qml-organizermodel.html#items-prop">items</a> list property. Of the two, the model access is preferred. Direct list access (i.e&#x2e; non-model) is not guaranteed to be in order set by <a href="location-overview.html#sortorders">sortOrder</a>.</p>
<p>At the moment the model roles provided by OrganizerModel are <tt>display</tt> and <tt>item</tt>. Through the <tt>item</tt> role can access any data provided by the <a href="qml-organizeritem.html">OrganizerItem</a> element.</p>
<p><b>Note:</b> Both the <tt>startPeriod</tt> and <tt>endPeriod</tt> are set by default to the current time (when the OrganizerModel was created). In most cases, both (or at least one) of the <a href="qml-organizermodel.html#startPeriod-prop">startPeriod</a> and <a href="qml-organizermodel.html#endPeriod-prop">endPeriod</a> should be set; otherwise, the OrganizerModel will contain zero items because the <tt>startPeriod</tt> and <tt>endPeriod</tt> are the same value. For example, if only <tt>endPeriod</tt> is provided, the OrganizerModel will contain all items from now (the time of the OrganizerModel's creation) to the <tt>endPeriod</tt> time.</p>
<p><b>See also </b><a href="qml-organizeritem.html">OrganizerItem</a> and <a href="qorganizermanager.html">QOrganizerManager</a>.</p>
<!-- @@@OrganizerModel -->
<h2>Property Documentation</h2>
<!-- $$$autoUpdate -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="autoUpdate-prop"></a><span class="name">autoUpdate</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-bool.html">bool</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property indicates whether or not the organizer model should be updated automatically, default value is true.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizermodel.html#update-method">OrganizerModel::update()</a>.</p>
</div></div><!-- @@@autoUpdate -->
<br/>
<!-- $$$availableManagers -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="availableManagers-prop"></a><span class="qmlreadonly">read-only</span><span class="name">availableManagers</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds the list of available manager names. This property is read only.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@availableManagers -->
<br/>
<!-- $$$endPeriod -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="endPeriod-prop"></a><span class="name">endPeriod</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the end date and time period used by the organizer model to fetch organizer items. The default value is the datetime of <a href="qml-organizermodel.html">OrganizerModel</a> creation.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@endPeriod -->
<br/>
<!-- $$$error -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="error-prop"></a><span class="qmlreadonly">read-only</span><span class="name">error</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the latest error code returned by the organizer manager.</p>
<p>This property is read only.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@error -->
<br/>
<!-- $$$eventOccurrences -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="eventOccurrences-prop"></a><span class="qmlreadonly">read-only</span><span class="name">eventOccurrences</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of event occurrences in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-eventoccurrence.html">EventOccurrence</a>.</p>
</div></div><!-- @@@eventOccurrences -->
<br/>
<!-- $$$events -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="events-prop"></a><span class="qmlreadonly">read-only</span><span class="name">events</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of events in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-event.html">Event</a>.</p>
</div></div><!-- @@@events -->
<br/>
<!-- $$$fetchHint -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="fetchHint-prop"></a><span class="name">fetchHint</span> : <span class="type"><a href="qml-fetchhint.html">FetchHint</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the fetch hint instance used by the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-fetchhint.html">FetchHint</a>.</p>
</div></div><!-- @@@fetchHint -->
<br/>
<!-- $$$filter -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="filter-prop"></a><span class="name">filter</span> : <span class="type"><a href="qml-filter.html">Filter</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the filter instance used by the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-filter.html">Filter</a>.</p>
</div></div><!-- @@@filter -->
<br/>
<!-- $$$itemCount -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="itemCount-prop"></a><span class="qmlreadonly">read-only</span><span class="name">itemCount</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the size of organizer items the <a href="qml-organizermodel.html">OrganizerModel</a> currently holds.</p>
<p>This property is read only.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@itemCount -->
<br/>
<!-- $$$items -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="items-prop"></a><span class="qmlreadonly">read-only</span><span class="name">items</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of organizer items in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizeritem.html">OrganizerItem</a>.</p>
</div></div><!-- @@@items -->
<br/>
<!-- $$$journals -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="journals-prop"></a><span class="qmlreadonly">read-only</span><span class="name">journals</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of journal items in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-journal.html">Journal</a>.</p>
</div></div><!-- @@@journals -->
<br/>
<!-- $$$manager -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="manager-prop"></a><span class="name">manager</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the manager name or manager uri of the organizer backend engine. The manager uri format: qtorganizer:&lt;managerid&gt;:&lt;key&gt;=&lt;value&gt;&amp;&lt;key&gt;=&lt;value&gt;.</p>
<p>For example, memory organizer engine has an optional id parameter, if user want to share the same memory engine with multiple <a href="qml-organizermodel.html">OrganizerModel</a> instances, the manager property should declared like this:</p>
<pre class="cpp"> model : OrganizerModel {
    manager:<span class="string">&quot;qtorganizer:memory:id=organizer1
 }
 </span></pre>
<p>instead of just the manager name:</p>
<pre class="cpp"> model : OrganizerModel {
    manager:<span class="string">&quot;memory&quot;</span>
 }</pre>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qorganizermanager.html#fromUri">QOrganizerManager::fromUri()</a>.</p>
</div></div><!-- @@@manager -->
<br/>
<!-- $$$managerName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="managerName-prop"></a><span class="qmlreadonly">read-only</span><span class="name">managerName</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the manager name of the organizer backend engine. This property is read only.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qorganizermanager.html#fromUri">QOrganizerManager::fromUri()</a>.</p>
</div></div><!-- @@@managerName -->
<br/>
<!-- $$$notes -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="notes-prop"></a><span class="qmlreadonly">read-only</span><span class="name">notes</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of note items in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-note.html">Note</a>.</p>
</div></div><!-- @@@notes -->
<br/>
<!-- $$$occurrences -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="occurrences-prop"></a><span class="qmlreadonly">read-only</span><span class="name">occurrences</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of event or todo occurrence items in the organizer model. <b>Note:</b> This property is not currently supported yet.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-event.html">Event</a>, <a href="qml-todo.html">Todo</a>, <a href="qml-eventoccurrence.html">EventOccurrence</a>, and <a href="qml-todooccurrence.html">TodoOccurrence</a>.</p>
</div></div><!-- @@@occurrences -->
<br/>
<!-- $$$sortOrders -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="sortOrders-prop"></a><span class="qmlreadonly">read-only</span><span class="name">sortOrders</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-sortorder.html">SortOrder</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of sort orders used by the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-sortorder.html">SortOrder</a>.</p>
</div></div><!-- @@@sortOrders -->
<br/>
<!-- $$$startPeriod -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="startPeriod-prop"></a><span class="name">startPeriod</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the start date and time period used by the organizer model to fetch organizer items. The default value is the datetime of <a href="qml-organizermodel.html">OrganizerModel</a> creation.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@startPeriod -->
<br/>
<!-- $$$todoOccurrences -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="todoOccurrences-prop"></a><span class="qmlreadonly">read-only</span><span class="name">todoOccurrences</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of todo occurrences in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-todooccurrence.html">TodoOccurrence</a>.</p>
</div></div><!-- @@@todoOccurrences -->
<br/>
<!-- $$$todos -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="todos-prop"></a><span class="qmlreadonly">read-only</span><span class="name">todos</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span>&gt;</p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of todos in the organizer model.</p>
<p>This property group was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-todo.html">Todo</a>.</p>
</div></div><!-- @@@todos -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$cancelUpdate -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="cancelUpdate-method"></a>OrganizerModel::<span class="name">cancelUpdate</span> ()</p></td></tr></table></div><div class="qmldoc"><p>Cancel the running organizer model content update request.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizermodel.html#autoUpdate-prop">OrganizerModel::autoUpdate</a> and <a href="qml-organizermodel.html#update-method">OrganizerModel::update</a>.</p>
</div></div><!-- @@@cancelUpdate -->
<br/>
<!-- $$$containsItems -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="containsItems-method"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-bool.html">bool</a></span> OrganizerModel::<span class="name">containsItems</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span> <i>start</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span> <i>end</i> )</p></td></tr></table></div><div class="qmldoc"><p>Returns true if there is at least one <a href="qml-organizeritem.html">OrganizerItem</a> between the given date range. Both the <i>start</i> and <i>end</i> parameters are optional, if no <i>end</i> parameter, returns true if there are item(s) after <i>start</i>, if neither start nor end date time provided, returns true if items in the current model is not empty, otherwise return false.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizermodel.html#itemIds-method">itemIds()</a>.</p>
</div></div><!-- @@@containsItems -->
<br/>
<!-- $$$exportItems -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="exportItems-method"></a>OrganizerModel::<span class="name">exportItems</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-url.html">url</a></span> <i>url</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span>&gt; <i>profiles</i> )</p></td></tr></table></div><div class="qmldoc"><p>Export organizer items into a vcalendar file to the given <i>url</i> by optional <i>profiles</i>. At the moment only the local file url is supported in export method.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@exportItems -->
<br/>
<!-- $$$fetchItems -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="fetchItems-method"></a>OrganizerModel::<span class="name">fetchItems</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span>&gt; <i>itemIds</i> )</p></td></tr></table></div><div class="qmldoc"><p>Fetch a list of organizer items from the organizer store by given <i>itemIds</i>.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@fetchItems -->
<br/>
<!-- $$$importItems -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="importItems-method"></a>OrganizerModel::<span class="name">importItems</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-url.html">url</a></span> <i>url</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span>&gt; <i>profiles</i> )</p></td></tr></table></div><div class="qmldoc"><p>Import organizer items from a vcalendar by the given <i>url</i> and optional <i>profiles</i>.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@importItems -->
<br/>
<!-- $$$item -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="item-method"></a><span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span> OrganizerModel::<span class="name">item</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span> <i>itemId</i> )</p></td></tr></table></div><div class="qmldoc"><p>Returns the <a href="qml-organizeritem.html">OrganizerItem</a> object which item id is the given <i>itemId</i>.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@item -->
<br/>
<!-- $$$itemIds -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="itemIds-method"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span>&gt; OrganizerModel::<span class="name">itemIds</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span> <i>start</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-date.html">date</a></span> <i>end</i> )</p></td></tr></table></div><div class="qmldoc"><p>Returns the list of organizer item ids between the given date range <i>start</i> and <i>end</i>, Both the <i>start</i> and <i>end</i> parameters are optional, if no <i>end</i> parameter, returns all item ids from <i>start</i>, if neither start nor end date time provided, returns all item ids in the current model.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizermodel.html#containsItems-method">containsItems()</a>.</p>
</div></div><!-- @@@itemIds -->
<br/>
<!-- $$$removeItem -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="removeItem-method"></a>OrganizerModel::<span class="name">removeItem</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span> <i>itemId</i> )</p></td></tr></table></div><div class="qmldoc"><p>Removes the organizer item with the given <i>itemId</i> from the backend.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@removeItem -->
<br/>
<!-- $$$removeItems -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="removeItems-method"></a>OrganizerModel::<span class="name">removeItems</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-list.html">list</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-string.html">string</a></span>&gt; <i>itemId</i> )</p></td></tr></table></div><div class="qmldoc"><p>Removes the organizer items with the given <i>ids</i> from the backend.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@removeItems -->
<br/>
<!-- $$$saveItem -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="saveItem-method"></a>OrganizerModel::<span class="name">saveItem</span> ( <span class="type"><a href="qml-organizeritem.html">OrganizerItem</a></span> <i>item</i> )</p></td></tr></table></div><div class="qmldoc"><p>Saves the given <i>item</i> into the organizer backend.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
</div></div><!-- @@@saveItem -->
<br/>
<!-- $$$update -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="update-method"></a>OrganizerModel::<span class="name">update</span> ()</p></td></tr></table></div><div class="qmldoc"><p>Manually update the organizer model content.</p>
<p>This documentation was introduced in  Mobility 1.1.</p>
<p><b>See also </b><a href="qml-organizermodel.html#autoUpdate-prop">OrganizerModel::autoUpdate</a>.</p>
</div></div><!-- @@@update -->
<br/>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>