todoaccess.html
来自「qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人」· HTML 代码 · 共 125 行
HTML
125 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopiapim/todoaccess.cpp:37 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>TodoAccess Class</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>TodoAccess Class Reference<br><small>[<a href="qpepim.html">qpepim module</a>]</small></h1><p>The TodoAccess class provides a safe API for accessing PimTasks.<a href="#details">More...</a><p><tt>#include <<a href="todoaccess-h.html">todoaccess.h</a>></tt><p><a href="todoaccess-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn><a href="#TodoAccess"><b>TodoAccess</b></a> ()</div></li><li><div class=fn><a href="#~TodoAccess"><b>~TodoAccess</b></a> ()</div></li><li><div class=fn>bool <a href="#editSupported"><b>editSupported</b></a> () const</div></li><li><div class=fn>void <a href="#updateTask"><b>updateTask</b></a> ( const PimTask & task )</div></li><li><div class=fn>void <a href="#removeTask"><b>removeTask</b></a> ( const PimTask & task )</div></li><li><div class=fn>void <a href="#addTask"><b>addTask</b></a> ( const PimTask & task )</div></li><li><div class=fn>PimTask <a href="#taskForId"><b>taskForId</b></a> ( const QUuid & u, bool * ok = 0 ) const</div></li></ul><h2>Signals</h2><ul><li><div class=fn>void <a href="#todoListUpdated"><b>todoListUpdated</b></a> ()</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2> The TodoAccess class provides a safe API for accessing PimTasks.<p> TodoAccess provides a safe API for accessing PimTasks stored byQtopia's Todo application. TodoAccess tries to keep the Todoapplication in sync with modifications, and alerts the user ofthe library when modifications have been made by other applications.<p>See also <a href="qpepim.html">Qtopia PIM Library</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn><a name="TodoAccess"></a>TodoAccess::TodoAccess ()</h3>Constructor.<h3 class=fn><a name="~TodoAccess"></a>TodoAccess::~TodoAccess ()</h3>Cleans up the the Addressbook access.<h3 class=fn>void <a name="addTask"></a>TodoAccess::addTask ( const <a href="pimtask.html">PimTask</a> & task )</h3>If supported will assign a new unique ID to <em>task</em> and add the task to thepim data.<p> Adding tasks requires the Tasks service to be available.<p> If the task is added correctly, an addedTask(int,PimTask) message will be sent to the QPE/PIM channel. The task in this message can be used to determinethe assigned ID.<h3 class=fn>bool <a name="editSupported"></a>TodoAccess::editSupported () const</h3>Returns TRUE if it is possible to add, remove and update tasks inthe pim data. Otherwise returns FALSE.<p> Adding, removing and tasks contacts requires the Tasks service to beavailable<h3 class=fn>void <a name="removeTask"></a>TodoAccess::removeTask ( const <a href="pimtask.html">PimTask</a> & task )</h3>If supported will remove <em>task</em> from the pim data;<p> Removing tasks requires the Tasks service to be available.<h3 class=fn><a href="pimtask.html">PimTask</a> <a name="taskForId"></a>TodoAccess::taskForId ( const <a href="quuid.html">QUuid</a> & u, bool * ok = 0 ) const</h3>If there exists an task with the uid <em>u</em>, return that task. Returns a null task if otherwise.<p> If <em>ok</em> is non-null, *ok is set to TRUE if the task isfound, and FALSE if the task is not found.<h3 class=fn>void <a name="todoListUpdated"></a>TodoAccess::todoListUpdated ()<tt> [signal]</tt></h3>Emitted whenever the todo list is updated.<h3 class=fn>void <a name="updateTask"></a>TodoAccess::updateTask ( const <a href="pimtask.html">PimTask</a> & task )</h3>If supported will update <em>task</em> in the pim data.<p> Updating tasks requires the Tasks service to be available.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?