212 Public slot to return the project relation status. |
212 Public slot to return the project relation status. |
213 |
213 |
214 @return flag indicating the project relation status (boolean) |
214 @return flag indicating the project relation status (boolean) |
215 """ |
215 """ |
216 return self._isProjectTask |
216 return self._isProjectTask |
|
217 |
|
218 def isProjectFileTask(self): |
|
219 """ |
|
220 Public slot to get an indication, if this task is related to a project file. |
|
221 |
|
222 @return flag indicating a project file task (boolean) |
|
223 """ |
|
224 return self._isProjectTask and self.filename != "" |
217 |
225 |
218 |
226 |
219 class TaskFilter(object): |
227 class TaskFilter(object): |
220 """ |
228 """ |
221 Class implementing a filter for tasks. |
229 Class implementing a filter for tasks. |