--- a/Documentation/Source/eric6.Preferences.Shortcuts.html Sat Dec 15 16:29:47 2018 +0100 +++ b/Documentation/Source/eric6.Preferences.Shortcuts.html Sat Dec 15 16:30:36 2018 +0100 @@ -116,33 +116,39 @@ <hr /><hr /> <a NAME="exportShortcuts" ID="exportShortcuts"></a> <h2>exportShortcuts</h2> -<b>exportShortcuts</b>(<i>fn</i>) +<b>exportShortcuts</b>(<i>fn, helpViewer=None</i>) <p> Module function to export the keyboard shortcuts for the defined QActions. </p><dl> <dt><i>fn</i></dt> <dd> filename of the export file (string) +</dd><dt><i>helpViewer</i></dt> +<dd> +reference to the help window object </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> <a NAME="importShortcuts" ID="importShortcuts"></a> <h2>importShortcuts</h2> -<b>importShortcuts</b>(<i>fn</i>) +<b>importShortcuts</b>(<i>fn, helpViewer=None</i>) <p> Module function to import the keyboard shortcuts for the defined E5Actions. </p><dl> <dt><i>fn</i></dt> <dd> filename of the import file (string) +</dd><dt><i>helpViewer</i></dt> +<dd> +reference to the help window object </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> <a NAME="readShortcuts" ID="readShortcuts"></a> <h2>readShortcuts</h2> -<b>readShortcuts</b>(<i>prefClass=Prefs, helpViewer=None, pluginName=None, helpViewerCategory=""</i>) +<b>readShortcuts</b>(<i>prefClass=Prefs, helpViewer=None, pluginName=None</i>) <p> Module function to read the keyboard shortcuts for the defined QActions. </p><dl> @@ -156,29 +162,29 @@ <dd> name of the plugin for which to load shortcuts (string) -</dd><dt><i>helpViewerCategory=</i></dt> -<dd> -name of the help viewer category (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> <a NAME="saveShortcuts" ID="saveShortcuts"></a> <h2>saveShortcuts</h2> -<b>saveShortcuts</b>(<i>prefClass=Prefs</i>) +<b>saveShortcuts</b>(<i>prefClass=Prefs, helpViewer=None</i>) <p> Module function to write the keyboard shortcuts for the defined QActions. </p><dl> <dt><i>prefClass</i></dt> <dd> preferences class used as the storage area +</dd><dt><i>helpViewer=</i></dt> +<dd> +reference to the help window object </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> <a NAME="setActions" ID="setActions"></a> <h2>setActions</h2> -<b>setActions</b>(<i>shortcuts</i>) +<b>setActions</b>(<i>shortcuts, helpViewer=None</i>) <p> Module function to set actions based on new format shortcuts file. </p><dl> @@ -186,6 +192,9 @@ <dd> dictionary containing the accelerator information read from a XML file +</dd><dt><i>helpViewer</i></dt> +<dd> +reference to the help window object </dd> </dl> <div align="right"><a href="#top">Up</a></div>