33 @param project reference to the project object |
33 @param project reference to the project object |
34 @type Project |
34 @type Project |
35 @param parent reference to the parent object (defaults to None) |
35 @param parent reference to the parent object (defaults to None) |
36 @type QObject (optional) |
36 @type QObject (optional) |
37 """ |
37 """ |
38 super(ProjectFile, self).__init__(parent) |
38 super().__init__(parent) |
39 self.__project = project |
39 self.__project = project |
40 |
40 |
41 def writeFile(self, filename: str) -> bool: |
41 def writeFile(self, filename: str) -> bool: |
42 """ |
42 """ |
43 Public method to write the project data to a project JSON file. |
43 Public method to write the project data to a project JSON file. |