81 </tr><tr> |
81 </tr><tr> |
82 <td><a href="#Task.setCompleted">setCompleted</a></td> |
82 <td><a href="#Task.setCompleted">setCompleted</a></td> |
83 <td>Public slot to update the completed flag.</td> |
83 <td>Public slot to update the completed flag.</td> |
84 </tr><tr> |
84 </tr><tr> |
85 <td><a href="#Task.setDescription">setDescription</a></td> |
85 <td><a href="#Task.setDescription">setDescription</a></td> |
86 <td>Public slot to update the description.</td> |
86 <td>Public slot to update the description field.</td> |
87 </tr><tr> |
|
88 <td><a href="#Task.setLongText">setLongText</a></td> |
|
89 <td>Public slot to update the longtext field.</td> |
|
90 </tr><tr> |
87 </tr><tr> |
91 <td><a href="#Task.setPriority">setPriority</a></td> |
88 <td><a href="#Task.setPriority">setPriority</a></td> |
92 <td>Public slot to update the priority.</td> |
89 <td>Public slot to update the priority.</td> |
93 </tr><tr> |
90 </tr><tr> |
94 <td><a href="#Task.setProjectTask">setProjectTask</a></td> |
91 <td><a href="#Task.setProjectTask">setProjectTask</a></td> |
95 <td>Public method to set the project relation flag.</td> |
92 <td>Public method to set the project relation flag.</td> |
|
93 </tr><tr> |
|
94 <td><a href="#Task.setSummary">setSummary</a></td> |
|
95 <td>Public slot to update the description.</td> |
96 </tr> |
96 </tr> |
97 </table> |
97 </table> |
98 <h3>Static Methods</h3> |
98 <h3>Static Methods</h3> |
99 <table> |
99 <table> |
100 <tr><td>None</td></tr> |
100 <tr><td>None</td></tr> |
101 </table> |
101 </table> |
102 <a NAME="Task.__init__" ID="Task.__init__"></a> |
102 <a NAME="Task.__init__" ID="Task.__init__"></a> |
103 <h4>Task (Constructor)</h4> |
103 <h4>Task (Constructor)</h4> |
104 <b>Task</b>(<i>description, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, longtext=""</i>) |
104 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description=""</i>) |
105 <p> |
105 <p> |
106 Constructor |
106 Constructor |
107 </p><dl> |
107 </p><dl> |
108 <dt><i>parent</i></dt> |
108 <dt><i>parent</i></dt> |
109 <dd> |
109 <dd> |
110 parent widget of the task (QWidget) |
110 parent widget of the task (QWidget) |
111 </dd><dt><i>description</i></dt> |
111 </dd><dt><i>summary</i></dt> |
112 <dd> |
112 <dd> |
113 descriptive text of the task (string) |
113 summary text of the task (string) |
114 </dd><dt><i>priority</i></dt> |
114 </dd><dt><i>priority</i></dt> |
115 <dd> |
115 <dd> |
116 priority of the task (0=high, 1=normal, 2=low) |
116 priority of the task (0=high, 1=normal, 2=low) |
117 </dd><dt><i>filename</i></dt> |
117 </dd><dt><i>filename</i></dt> |
118 <dd> |
118 <dd> |
135 type of the task (one of TypeFixme, TypeTodo, |
135 type of the task (one of TypeFixme, TypeTodo, |
136 TypeWarning, TypeNote) |
136 TypeWarning, TypeNote) |
137 </dd><dt><i>project</i></dt> |
137 </dd><dt><i>project</i></dt> |
138 <dd> |
138 <dd> |
139 reference to the project object (Project) |
139 reference to the project object (Project) |
140 </dd><dt><i>longtext</i></dt> |
140 </dd><dt><i>description</i></dt> |
141 <dd> |
141 <dd> |
142 explanatory text of the task (string) |
142 explanatory text of the task (string) |
143 </dd> |
143 </dd> |
144 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
144 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
145 <h4>Task.colorizeTask</h4> |
145 <h4>Task.colorizeTask</h4> |
208 </dd> |
208 </dd> |
209 </dl><a NAME="Task.setDescription" ID="Task.setDescription"></a> |
209 </dl><a NAME="Task.setDescription" ID="Task.setDescription"></a> |
210 <h4>Task.setDescription</h4> |
210 <h4>Task.setDescription</h4> |
211 <b>setDescription</b>(<i>description</i>) |
211 <b>setDescription</b>(<i>description</i>) |
212 <p> |
212 <p> |
213 Public slot to update the description. |
213 Public slot to update the description field. |
214 </p><dl> |
214 </p><dl> |
215 <dt><i>longtext</i></dt> |
215 <dt><i>description</i></dt> |
216 <dd> |
|
217 explanatory text of the task (string) |
|
218 </dd> |
|
219 </dl><a NAME="Task.setLongText" ID="Task.setLongText"></a> |
|
220 <h4>Task.setLongText</h4> |
|
221 <b>setLongText</b>(<i>longtext</i>) |
|
222 <p> |
|
223 Public slot to update the longtext field. |
|
224 </p><dl> |
|
225 <dt><i>longtext</i></dt> |
|
226 <dd> |
216 <dd> |
227 descriptive text of the task (string) |
217 descriptive text of the task (string) |
228 </dd> |
218 </dd> |
229 </dl><a NAME="Task.setPriority" ID="Task.setPriority"></a> |
219 </dl><a NAME="Task.setPriority" ID="Task.setPriority"></a> |
230 <h4>Task.setPriority</h4> |
220 <h4>Task.setPriority</h4> |
243 Public method to set the project relation flag. |
233 Public method to set the project relation flag. |
244 </p><dl> |
234 </p><dl> |
245 <dt><i>pt</i></dt> |
235 <dt><i>pt</i></dt> |
246 <dd> |
236 <dd> |
247 flag indicating a project task (boolean) |
237 flag indicating a project task (boolean) |
|
238 </dd> |
|
239 </dl><a NAME="Task.setSummary" ID="Task.setSummary"></a> |
|
240 <h4>Task.setSummary</h4> |
|
241 <b>setSummary</b>(<i>summary</i>) |
|
242 <p> |
|
243 Public slot to update the description. |
|
244 </p><dl> |
|
245 <dt><i>summary</i></dt> |
|
246 <dd> |
|
247 summary text of the task (string) |
248 </dd> |
248 </dd> |
249 </dl> |
249 </dl> |
250 <div align="right"><a href="#top">Up</a></div> |
250 <div align="right"><a href="#top">Up</a></div> |
251 <hr /> |
251 <hr /> |
252 </body></html> |
252 </body></html> |