eric6/Tasks/TasksFile.py

changeset 8218
7c09585bd960
parent 8031
ce5858a237d2
child 8240
93b8a353c4bf
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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.

eric ide

mercurial