46 </tr><tr> |
46 </tr><tr> |
47 <td><a href="#exportShortcuts">exportShortcuts</a></td> |
47 <td><a href="#exportShortcuts">exportShortcuts</a></td> |
48 <td>Module function to export the keyboard shortcuts for the defined QActions.</td> |
48 <td>Module function to export the keyboard shortcuts for the defined QActions.</td> |
49 </tr><tr> |
49 </tr><tr> |
50 <td><a href="#importShortcuts">importShortcuts</a></td> |
50 <td><a href="#importShortcuts">importShortcuts</a></td> |
51 <td>Module function to import the keyboard shortcuts for the defined E4Actions.</td> |
51 <td>Module function to import the keyboard shortcuts for the defined E5Actions.</td> |
52 </tr><tr> |
52 </tr><tr> |
53 <td><a href="#readShortcuts">readShortcuts</a></td> |
53 <td><a href="#readShortcuts">readShortcuts</a></td> |
54 <td>Module function to read the keyboard shortcuts for the defined QActions.</td> |
54 <td>Module function to read the keyboard shortcuts for the defined QActions.</td> |
55 </tr><tr> |
55 </tr><tr> |
56 <td><a href="#saveShortcuts">saveShortcuts</a></td> |
56 <td><a href="#saveShortcuts">saveShortcuts</a></td> |
67 <p> |
67 <p> |
68 Private function to read a single keyboard shortcut from the settings. |
68 Private function to read a single keyboard shortcut from the settings. |
69 </p><dl> |
69 </p><dl> |
70 <dt><i>act</i></dt> |
70 <dt><i>act</i></dt> |
71 <dd> |
71 <dd> |
72 reference to the action object (E4Action) |
72 reference to the action object (E5Action) |
73 </dd><dt><i>category</i></dt> |
73 </dd><dt><i>category</i></dt> |
74 <dd> |
74 <dd> |
75 category the action belongs to (string) |
75 category the action belongs to (string) |
76 </dd><dt><i>prefClass</i></dt> |
76 </dd><dt><i>prefClass</i></dt> |
77 <dd> |
77 <dd> |
86 <p> |
86 <p> |
87 Private function to write a single keyboard shortcut to the settings. |
87 Private function to write a single keyboard shortcut to the settings. |
88 </p><dl> |
88 </p><dl> |
89 <dt><i>act</i></dt> |
89 <dt><i>act</i></dt> |
90 <dd> |
90 <dd> |
91 reference to the action object (E4Action) |
91 reference to the action object (E5Action) |
92 </dd><dt><i>category</i></dt> |
92 </dd><dt><i>category</i></dt> |
93 <dd> |
93 <dd> |
94 category the action belongs to (string) |
94 category the action belongs to (string) |
95 </dd><dt><i>prefClass</i></dt> |
95 </dd><dt><i>prefClass</i></dt> |
96 <dd> |
96 <dd> |
105 <p> |
105 <p> |
106 Private function to write a single keyboard shortcut to the settings. |
106 Private function to write a single keyboard shortcut to the settings. |
107 </p><dl> |
107 </p><dl> |
108 <dt><i>actions</i></dt> |
108 <dt><i>actions</i></dt> |
109 <dd> |
109 <dd> |
110 list of actions to set (list of E4Action) |
110 list of actions to set (list of E5Action) |
111 </dd><dt><i>sdict</i></dt> |
111 </dd><dt><i>sdict</i></dt> |
112 <dd> |
112 <dd> |
113 dictionary containg accelerator information for one category |
113 dictionary containg accelerator information for one category |
114 </dd> |
114 </dd> |
115 </dl> |
115 </dl> |
135 <hr /><hr /> |
135 <hr /><hr /> |
136 <a NAME="importShortcuts" ID="importShortcuts"></a> |
136 <a NAME="importShortcuts" ID="importShortcuts"></a> |
137 <h2>importShortcuts</h2> |
137 <h2>importShortcuts</h2> |
138 <b>importShortcuts</b>(<i>fn</i>) |
138 <b>importShortcuts</b>(<i>fn</i>) |
139 <p> |
139 <p> |
140 Module function to import the keyboard shortcuts for the defined E4Actions. |
140 Module function to import the keyboard shortcuts for the defined E5Actions. |
141 </p><dl> |
141 </p><dl> |
142 <dt><i>fn</i></dt> |
142 <dt><i>fn</i></dt> |
143 <dd> |
143 <dd> |
144 filename of the import file (string) |
144 filename of the import file (string) |
145 </dd> |
145 </dd> |