<?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" /> <!-- qdeclarativeorganizeritem.cpp --> <title>Qt Mobility 1.2: QML Todo 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 Todo 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="#details">Detailed Description</a></li> </ul> </div> <h1 class="title">QML Todo Element</h1> <span class="subtitle"></span> <!-- $$$Todo-brief --> <p>The Todo element provides a task which should be completed. <a href="#details">More...</a></p> <!-- @@@Todo --> <p>This element was introduced in Mobility 1.1.</p> <ul> <li><a href="qml-todo-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-todo.html#allDay-prop">allDay</a></b></b> : bool</li> <li class="fn"><b><b><a href="qml-todo.html#dueDateTime-prop">dueDateTime</a></b></b> : date</li> <li class="fn"><b><b><a href="qml-todo.html#finishedDateTime-prop">finishedDateTime</a></b></b> : date</li> <li class="fn"><b><b><a href="qml-todo.html#priority-prop">priority</a></b></b> : enumeration</li> <li class="fn"><b><b><a href="qml-todo.html#progressPercentage-prop">progressPercentage</a></b></b> : int</li> <li class="fn"><b><b><a href="qml-todo.html#recurrence-prop">recurrence</a></b></b> : Recurrence</li> <li class="fn"><b><b><a href="qml-todo.html#startDateTime-prop">startDateTime</a></b></b> : date</li> <li class="fn"><b><b><a href="qml-todo.html#status-prop">status</a></b></b> : enumeration</li> </ul> <!-- $$$Todo-description --> <a name="details"></a> <h2>Detailed Description</h2> <p>The Todo element is part of the <b>QtMobility.organizer 1.1</b> module.</p> <p><b>See also </b><a href="qml-organizeritem.html">OrganizerItem</a>, <a href="qml-event.html">Event</a>, <a href="qml-eventoccurrence.html">EventOccurrence</a>, <a href="qml-journal.html">Journal</a>, <a href="qml-todooccurrence.html">TodoOccurrence</a>, <a href="qml-note.html">Note</a>, and <a href="qorganizertodo.html">QOrganizerTodo</a>.</p> <!-- @@@Todo --> <h2>Property Documentation</h2> <!-- $$$allDay --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="allDay-prop"></a><span class="name">allDay</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 the time-of-day component of the Todo's start date-time or due date-time is insignificant. If allDay is true, the time-of-day component is considered insignificant, and the todo will be an all-day item.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@allDay --> <br/> <!-- $$$dueDateTime --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="dueDateTime-prop"></a><span class="name">dueDateTime</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 date time by which the task should be completed.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@dueDateTime --> <br/> <!-- $$$finishedDateTime --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="finishedDateTime-prop"></a><span class="name">finishedDateTime</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 date and time at which the task was completed, if known.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@finishedDateTime --> <br/> <!-- $$$priority --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="priority-prop"></a><span class="name">priority</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-enumeration.html">enumeration</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the priority of the todo item. The value can be one of:</p> <ul> <li>Priority.Unknown</li> <li>Priority.Highest</li> <li>Priority.ExtremelyHigh</li> <li>Priority.VeryHigh</li> <li>Priority.High</li> <li>Priority.Medium</li> <li>Priority.Low</li> <li>Priority.VeryLow</li> <li>Priority.ExtremelyLow</li> <li>Priority.Lowest</li> </ul> <p>This property group was introduced in Mobility 1.1.</p> <p><b>See also </b><a href="qml-priority.html">Priority</a>.</p> </div></div><!-- @@@priority --> <br/> <!-- $$$progressPercentage --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="progressPercentage-prop"></a><span class="name">progressPercentage</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 percentage of progress completed on the task described by the todo item.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@progressPercentage --> <br/> <!-- $$$recurrence --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="recurrence-prop"></a><span class="name">recurrence</span> : <span class="type"><a href="qml-recurrence.html">Recurrence</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the recurrence element of the todo item.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@recurrence --> <br/> <!-- $$$startDateTime --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="startDateTime-prop"></a><span class="name">startDateTime</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 date time at which the task should be started.</p> <p>This property group was introduced in Mobility 1.1.</p> </div></div><!-- @@@startDateTime --> <br/> <!-- $$$status --> <div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="status-prop"></a><span class="name">status</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qml-enumeration.html">enumeration</a></span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the progress status of the task described by the todo. The value can be one of:</p> <ul> <li><a href="qml-todoprogress.html">TodoProgress</a>.NotStarted</li> <li><a href="qml-todoprogress.html">TodoProgress</a>.InProgress</li> <li><a href="qml-todoprogress.html">TodoProgress</a>.Complete</li> </ul> <p>This property group was introduced in Mobility 1.1.</p> <p><b>See also </b><a href="qml-todoprogress.html">TodoProgress</a>.</p> </div></div><!-- @@@status --> <br/> <div class="ft"> <span></span> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>