30 @param isGlobal flag indicating a file for global tasks |
30 @param isGlobal flag indicating a file for global tasks |
31 @type bool |
31 @type bool |
32 @param parent reference to the parent object (defaults to None) |
32 @param parent reference to the parent object (defaults to None) |
33 @type QObject (optional) |
33 @type QObject (optional) |
34 """ |
34 """ |
35 super(TasksFile, self).__init__(parent) |
35 super().__init__(parent) |
36 self.__isGlobal = isGlobal |
36 self.__isGlobal = isGlobal |
37 |
37 |
38 def writeFile(self, filename: str) -> bool: |
38 def writeFile(self, filename: str) -> bool: |
39 """ |
39 """ |
40 Public method to write the tasks data to a tasks JSON file. |
40 Public method to write the tasks data to a tasks JSON file. |