diff -r f0cb7579c0b4 -r e26d7d0c1088 Documentation/Source/eric6.E5XML.ShortcutsWriter.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.E5XML.ShortcutsWriter.html Sat Jul 05 12:29:15 2014 +0200 @@ -0,0 +1,105 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.E5XML.ShortcutsWriter</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric6.E5XML.ShortcutsWriter</h1> +<p> +Module implementing the writer class for writing an XML shortcuts file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ShortcutsWriter">ShortcutsWriter</a></td> +<td>Class implementing the writer class for writing an XML shortcuts file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ShortcutsWriter" ID="ShortcutsWriter"></a> +<h2>ShortcutsWriter</h2> +<p> + Class implementing the writer class for writing an XML shortcuts file. +</p> +<h3>Derived from</h3> +XMLStreamWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<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> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ShortcutsWriter.__init__" ID="ShortcutsWriter.__init__"></a> +<h4>ShortcutsWriter (Constructor)</h4> +<b>ShortcutsWriter</b>(<i>device</i>) +<p> + Constructor +</p><dl> +<dt><i>device</i></dt> +<dd> +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> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file