src/eric7/EricXML/DebuggerPropertiesReader.py

branch
eric7
changeset 10423
299802979277
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10422:e28b89693f37 10423:299802979277
21 21
22 def __init__(self, device, project): 22 def __init__(self, device, project):
23 """ 23 """
24 Constructor 24 Constructor
25 25
26 @param device reference to the I/O device to read from (QIODevice) 26 @param device reference to the I/O device to read from
27 @type QIODevice
27 @param project Reference to the project object to store the 28 @param project Reference to the project object to store the
28 information into. 29 information into.
30 @type Project
29 """ 31 """
30 XMLStreamReaderBase.__init__(self, device) 32 XMLStreamReaderBase.__init__(self, device)
31 33
32 self.project = project 34 self.project = project
33 35
37 """ 39 """
38 Public method to read and parse the XML document. 40 Public method to read and parse the XML document.
39 41
40 @param quiet flag indicating quiet operations. 42 @param quiet flag indicating quiet operations.
41 If this flag is true, no errors are reported. 43 If this flag is true, no errors are reported.
44 @type bool
42 """ 45 """
43 while not self.atEnd(): 46 while not self.atEnd():
44 self.readNext() 47 self.readNext()
45 if self.isStartElement(): 48 if self.isStartElement():
46 if self.name() == "DebuggerProperties": 49 if self.name() == "DebuggerProperties":

eric ide

mercurial