E5XML/DebuggerPropertiesWriter.py

changeset 53
c3eb7cc1ff8b
parent 50
a36eecf45b2e
child 55
b5c84934de9c
equal deleted inserted replaced
52:ba69827929ee 53:c3eb7cc1ff8b
8 """ 8 """
9 9
10 import os 10 import os
11 import time 11 import time
12 12
13 from E4Gui.E4Application import e4App 13 from E4Gui.E4Application import e5App
14 14
15 from .XMLWriterBase import XMLWriterBase 15 from .XMLWriterBase import XMLWriterBase
16 from .Config import debuggerPropertiesFileFormatVersion 16 from .Config import debuggerPropertiesFileFormatVersion
17 17
18 import Preferences 18 import Preferences
30 @param projectName name of the project (string) 30 @param projectName name of the project (string)
31 """ 31 """
32 XMLWriterBase.__init__(self, file) 32 XMLWriterBase.__init__(self, file)
33 33
34 self.name = projectName 34 self.name = projectName
35 self.project = e4App().getObject("Project") 35 self.project = e5App().getObject("Project")
36 36
37 def writeXML(self): 37 def writeXML(self):
38 """ 38 """
39 Public method to write the XML to the file. 39 Public method to write the XML to the file.
40 """ 40 """

eric ide

mercurial