218 Public slot to return the project relation status. |
218 Public slot to return the project relation status. |
219 |
219 |
220 @return flag indicating the project relation status (boolean) |
220 @return flag indicating the project relation status (boolean) |
221 """ |
221 """ |
222 return self._isProjectTask |
222 return self._isProjectTask |
|
223 |
|
224 def isProjectFileTask(self): |
|
225 """ |
|
226 Public slot to get an indication, if this task is related to a project file. |
|
227 |
|
228 @return flag indicating a project file task (boolean) |
|
229 """ |
|
230 return self._isProjectTask and self.filename != "" |