62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#Task.colorizeTask">colorizeTask</a></td> |
63 <td><a href="#Task.colorizeTask">colorizeTask</a></td> |
64 <td>Public slot to set the colors of the task item.</td> |
64 <td>Public slot to set the colors of the task item.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#Task.getFilename">getFilename</a></td> |
66 <td><a href="#Task.getFilename">getFilename</a></td> |
67 <td>Public method to retrieve the tasks filename.</td> |
67 <td>Public method to retrieve the task's filename.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#Task.getLineno">getLineno</a></td> |
69 <td><a href="#Task.getLineno">getLineno</a></td> |
70 <td>Public method to retrieve the tasks linenumber.</td> |
70 <td>Public method to retrieve the task's linenumber.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#Task.getParentUuid">getParentUuid</a></td> |
|
73 <td>Public method to get the parent task's uid.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#Task.getUuid">getUuid</a></td> |
|
76 <td>Public method to get the task's uid.</td> |
71 </tr><tr> |
77 </tr><tr> |
72 <td><a href="#Task.isCompleted">isCompleted</a></td> |
78 <td><a href="#Task.isCompleted">isCompleted</a></td> |
73 <td>Public slot to return the completion status.</td> |
79 <td>Public slot to return the completion status.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#Task.isFileTask">isFileTask</a></td> |
|
82 <td>Public slot to get an indication, if this task is related to a file.</td> |
74 </tr><tr> |
83 </tr><tr> |
75 <td><a href="#Task.isProjectFileTask">isProjectFileTask</a></td> |
84 <td><a href="#Task.isProjectFileTask">isProjectFileTask</a></td> |
76 <td>Public slot to get an indication, if this task is related to a project file.</td> |
85 <td>Public slot to get an indication, if this task is related to a project file.</td> |
77 </tr><tr> |
86 </tr><tr> |
78 <td><a href="#Task.isProjectTask">isProjectTask</a></td> |
87 <td><a href="#Task.isProjectTask">isProjectTask</a></td> |
98 <table> |
107 <table> |
99 <tr><td>None</td></tr> |
108 <tr><td>None</td></tr> |
100 </table> |
109 </table> |
101 <a NAME="Task.__init__" ID="Task.__init__"></a> |
110 <a NAME="Task.__init__" ID="Task.__init__"></a> |
102 <h4>Task (Constructor)</h4> |
111 <h4>Task (Constructor)</h4> |
103 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description=""</i>) |
112 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description="", uid="", parentUid=""</i>) |
104 <p> |
113 <p> |
105 Constructor |
114 Constructor |
106 </p><dl> |
115 </p><dl> |
107 <dt><i>summary</i></dt> |
116 <dt><i>summary</i></dt> |
108 <dd> |
117 <dd> |
134 <dd> |
143 <dd> |
135 reference to the project object (Project) |
144 reference to the project object (Project) |
136 </dd><dt><i>description</i></dt> |
145 </dd><dt><i>description</i></dt> |
137 <dd> |
146 <dd> |
138 explanatory text of the task (string) |
147 explanatory text of the task (string) |
|
148 </dd><dt><i>uid</i></dt> |
|
149 <dd> |
|
150 unique id of the task (string) |
|
151 </dd><dt><i>parentUid</i></dt> |
|
152 <dd> |
|
153 unique id of the parent task (string) |
139 </dd> |
154 </dd> |
140 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
155 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
141 <h4>Task.colorizeTask</h4> |
156 <h4>Task.colorizeTask</h4> |
142 <b>colorizeTask</b>(<i></i>) |
157 <b>colorizeTask</b>(<i></i>) |
143 <p> |
158 <p> |
144 Public slot to set the colors of the task item. |
159 Public slot to set the colors of the task item. |
145 </p><a NAME="Task.getFilename" ID="Task.getFilename"></a> |
160 </p><a NAME="Task.getFilename" ID="Task.getFilename"></a> |
146 <h4>Task.getFilename</h4> |
161 <h4>Task.getFilename</h4> |
147 <b>getFilename</b>(<i></i>) |
162 <b>getFilename</b>(<i></i>) |
148 <p> |
163 <p> |
149 Public method to retrieve the tasks filename. |
164 Public method to retrieve the task's filename. |
150 </p><dl> |
165 </p><dl> |
151 <dt>Returns:</dt> |
166 <dt>Returns:</dt> |
152 <dd> |
167 <dd> |
153 filename (string) |
168 filename (string) |
154 </dd> |
169 </dd> |
155 </dl><a NAME="Task.getLineno" ID="Task.getLineno"></a> |
170 </dl><a NAME="Task.getLineno" ID="Task.getLineno"></a> |
156 <h4>Task.getLineno</h4> |
171 <h4>Task.getLineno</h4> |
157 <b>getLineno</b>(<i></i>) |
172 <b>getLineno</b>(<i></i>) |
158 <p> |
173 <p> |
159 Public method to retrieve the tasks linenumber. |
174 Public method to retrieve the task's linenumber. |
160 </p><dl> |
175 </p><dl> |
161 <dt>Returns:</dt> |
176 <dt>Returns:</dt> |
162 <dd> |
177 <dd> |
163 linenumber (integer) |
178 linenumber (integer) |
|
179 </dd> |
|
180 </dl><a NAME="Task.getParentUuid" ID="Task.getParentUuid"></a> |
|
181 <h4>Task.getParentUuid</h4> |
|
182 <b>getParentUuid</b>(<i></i>) |
|
183 <p> |
|
184 Public method to get the parent task's uid. |
|
185 </p><dl> |
|
186 <dt>Returns:</dt> |
|
187 <dd> |
|
188 parent uid (string) |
|
189 </dd> |
|
190 </dl><a NAME="Task.getUuid" ID="Task.getUuid"></a> |
|
191 <h4>Task.getUuid</h4> |
|
192 <b>getUuid</b>(<i></i>) |
|
193 <p> |
|
194 Public method to get the task's uid. |
|
195 </p><dl> |
|
196 <dt>Returns:</dt> |
|
197 <dd> |
|
198 uid (string) |
164 </dd> |
199 </dd> |
165 </dl><a NAME="Task.isCompleted" ID="Task.isCompleted"></a> |
200 </dl><a NAME="Task.isCompleted" ID="Task.isCompleted"></a> |
166 <h4>Task.isCompleted</h4> |
201 <h4>Task.isCompleted</h4> |
167 <b>isCompleted</b>(<i></i>) |
202 <b>isCompleted</b>(<i></i>) |
168 <p> |
203 <p> |
169 Public slot to return the completion status. |
204 Public slot to return the completion status. |
170 </p><dl> |
205 </p><dl> |
171 <dt>Returns:</dt> |
206 <dt>Returns:</dt> |
172 <dd> |
207 <dd> |
173 flag indicating the completion status (boolean) |
208 flag indicating the completion status (boolean) |
|
209 </dd> |
|
210 </dl><a NAME="Task.isFileTask" ID="Task.isFileTask"></a> |
|
211 <h4>Task.isFileTask</h4> |
|
212 <b>isFileTask</b>(<i></i>) |
|
213 <p> |
|
214 Public slot to get an indication, if this task is related to a file. |
|
215 </p><dl> |
|
216 <dt>Returns:</dt> |
|
217 <dd> |
|
218 flag indicating a file task (boolean) |
174 </dd> |
219 </dd> |
175 </dl><a NAME="Task.isProjectFileTask" ID="Task.isProjectFileTask"></a> |
220 </dl><a NAME="Task.isProjectFileTask" ID="Task.isProjectFileTask"></a> |
176 <h4>Task.isProjectFileTask</h4> |
221 <h4>Task.isProjectFileTask</h4> |
177 <b>isProjectFileTask</b>(<i></i>) |
222 <b>isProjectFileTask</b>(<i></i>) |
178 <p> |
223 <p> |