Documentation/Source/eric5.E5XML.TemplatesWriter.html

changeset 603
7f620c649182
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
child 1278
fb0460fd00b9
equal deleted inserted replaced
602:2f32aef5cc67 603:7f620c649182
44 <h2>TemplatesWriter</h2> 44 <h2>TemplatesWriter</h2>
45 <p> 45 <p>
46 Class implementing the writer class for writing an XML templates file. 46 Class implementing the writer class for writing an XML templates file.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 XMLWriterBase 49 XMLStreamWriterBase
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
52 <tr><td>None</td></tr> 52 <tr><td>None</td></tr>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
61 <td>Public method to write the XML to the file.</td> 61 <td>Public method to write the XML to the file.</td>
62 </tr> 62 </tr>
63 </table> 63 </table>
64 <a NAME="TemplatesWriter.__init__" ID="TemplatesWriter.__init__"></a> 64 <a NAME="TemplatesWriter.__init__" ID="TemplatesWriter.__init__"></a>
65 <h4>TemplatesWriter (Constructor)</h4> 65 <h4>TemplatesWriter (Constructor)</h4>
66 <b>TemplatesWriter</b>(<i>file, templatesViewer</i>) 66 <b>TemplatesWriter</b>(<i>device, templatesViewer</i>)
67 <p> 67 <p>
68 Constructor 68 Constructor
69 </p><dl> 69 </p><dl>
70 <dt><i>file</i></dt> 70 <dt><i>device</i></dt>
71 <dd> 71 <dd>
72 open file (like) object for writing 72 reference to the I/O device to write to (QIODevice)
73 </dd><dt><i>templatesViewer</i></dt>
74 <dd>
75 reference to the templates viewer object (TemplateViewer)
73 </dd> 76 </dd>
74 </dl><a NAME="TemplatesWriter.writeXML" ID="TemplatesWriter.writeXML"></a> 77 </dl><a NAME="TemplatesWriter.writeXML" ID="TemplatesWriter.writeXML"></a>
75 <h4>TemplatesWriter.writeXML</h4> 78 <h4>TemplatesWriter.writeXML</h4>
76 <b>writeXML</b>(<i></i>) 79 <b>writeXML</b>(<i></i>)
77 <p> 80 <p>

eric ide

mercurial