Documentation/Source/eric5.E5XML.ShortcutsWriter.html

changeset 603
7f620c649182
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
child 1278
fb0460fd00b9
diff -r 2f32aef5cc67 -r 7f620c649182 Documentation/Source/eric5.E5XML.ShortcutsWriter.html
--- a/Documentation/Source/eric5.E5XML.ShortcutsWriter.html	Sun Sep 12 19:36:57 2010 +0200
+++ b/Documentation/Source/eric5.E5XML.ShortcutsWriter.html	Sun Sep 12 19:38:36 2010 +0200
@@ -46,7 +46,7 @@
     Class implementing the writer class for writing an XML shortcuts file.
 </p>
 <h3>Derived from</h3>
-XMLWriterBase
+XMLStreamWriterBase
 <h3>Class Attributes</h3>
 <table>
 <tr><td>None</td></tr>
@@ -57,19 +57,35 @@
 <td><a href="#ShortcutsWriter.__init__">ShortcutsWriter</a></td>
 <td>Constructor</td>
 </tr><tr>
+<td><a href="#ShortcutsWriter.__writeActions">__writeActions</a></td>
+<td>Private method to write the shortcuts for the given actions.</td>
+</tr><tr>
 <td><a href="#ShortcutsWriter.writeXML">writeXML</a></td>
 <td>Public method to write the XML to the file.</td>
 </tr>
 </table>
 <a NAME="ShortcutsWriter.__init__" ID="ShortcutsWriter.__init__"></a>
 <h4>ShortcutsWriter (Constructor)</h4>
-<b>ShortcutsWriter</b>(<i>file</i>)
+<b>ShortcutsWriter</b>(<i>device</i>)
 <p>
         Constructor
 </p><dl>
-<dt><i>file</i></dt>
+<dt><i>device</i></dt>
 <dd>
-open file (like) object for writing
+reference to the I/O device to write to (QIODevice)
+</dd>
+</dl><a NAME="ShortcutsWriter.__writeActions" ID="ShortcutsWriter.__writeActions"></a>
+<h4>ShortcutsWriter.__writeActions</h4>
+<b>__writeActions</b>(<i>category, actions</i>)
+<p>
+        Private method to write the shortcuts for the given actions.
+</p><dl>
+<dt><i>category</i></dt>
+<dd>
+category the actions belong to (string)
+</dd><dt><i>actions</i></dt>
+<dd>
+list of actions to write (E5Action)
 </dd>
 </dl><a NAME="ShortcutsWriter.writeXML" ID="ShortcutsWriter.writeXML"></a>
 <h4>ShortcutsWriter.writeXML</h4>

eric ide

mercurial