179 <p> |
179 <p> |
180 Private slot showing the context menu. |
180 Private slot showing the context menu. |
181 </p> |
181 </p> |
182 <dl> |
182 <dl> |
183 |
183 |
184 <dt><i>pos</i></dt> |
184 <dt><i>pos</i> (QPoint)</dt> |
185 <dd> |
185 <dd> |
186 position to show the menu at (QPoint) |
186 position to show the menu at |
187 </dd> |
187 </dd> |
188 </dl> |
188 </dl> |
189 <a NAME="HelpTocWidget.expandToDepth" ID="HelpTocWidget.expandToDepth"></a> |
189 <a NAME="HelpTocWidget.expandToDepth" ID="HelpTocWidget.expandToDepth"></a> |
190 <h4>HelpTocWidget.expandToDepth</h4> |
190 <h4>HelpTocWidget.expandToDepth</h4> |
191 <b>expandToDepth</b>(<i>depth</i>) |
191 <b>expandToDepth</b>(<i>depth</i>) |
193 <p> |
193 <p> |
194 Public slot to expand the table of contents to a specific depth. |
194 Public slot to expand the table of contents to a specific depth. |
195 </p> |
195 </p> |
196 <dl> |
196 <dl> |
197 |
197 |
198 <dt><i>depth</i></dt> |
198 <dt><i>depth</i> (int)</dt> |
199 <dd> |
199 <dd> |
200 depth to expand to (integer) |
200 depth to expand to |
201 </dd> |
201 </dd> |
202 </dl> |
202 </dl> |
203 <a NAME="HelpTocWidget.focusInEvent" ID="HelpTocWidget.focusInEvent"></a> |
203 <a NAME="HelpTocWidget.focusInEvent" ID="HelpTocWidget.focusInEvent"></a> |
204 <h4>HelpTocWidget.focusInEvent</h4> |
204 <h4>HelpTocWidget.focusInEvent</h4> |
205 <b>focusInEvent</b>(<i>evt</i>) |
205 <b>focusInEvent</b>(<i>evt</i>) |
207 <p> |
207 <p> |
208 Protected method handling focus in events. |
208 Protected method handling focus in events. |
209 </p> |
209 </p> |
210 <dl> |
210 <dl> |
211 |
211 |
212 <dt><i>evt</i></dt> |
212 <dt><i>evt</i> (QFocusEvent)</dt> |
213 <dd> |
213 <dd> |
214 reference to the focus event object (QFocusEvent) |
214 reference to the focus event object |
215 </dd> |
215 </dd> |
216 </dl> |
216 </dl> |
217 <a NAME="HelpTocWidget.keyPressEvent" ID="HelpTocWidget.keyPressEvent"></a> |
217 <a NAME="HelpTocWidget.keyPressEvent" ID="HelpTocWidget.keyPressEvent"></a> |
218 <h4>HelpTocWidget.keyPressEvent</h4> |
218 <h4>HelpTocWidget.keyPressEvent</h4> |
219 <b>keyPressEvent</b>(<i>evt</i>) |
219 <b>keyPressEvent</b>(<i>evt</i>) |
221 <p> |
221 <p> |
222 Protected method handling key press events. |
222 Protected method handling key press events. |
223 </p> |
223 </p> |
224 <dl> |
224 <dl> |
225 |
225 |
226 <dt><i>evt</i></dt> |
226 <dt><i>evt</i> (QKeyEvent)</dt> |
227 <dd> |
227 <dd> |
228 reference to the key press event (QKeyEvent) |
228 reference to the key press event |
229 </dd> |
229 </dd> |
230 </dl> |
230 </dl> |
231 <a NAME="HelpTocWidget.syncToContent" ID="HelpTocWidget.syncToContent"></a> |
231 <a NAME="HelpTocWidget.syncToContent" ID="HelpTocWidget.syncToContent"></a> |
232 <h4>HelpTocWidget.syncToContent</h4> |
232 <h4>HelpTocWidget.syncToContent</h4> |
233 <b>syncToContent</b>(<i>url</i>) |
233 <b>syncToContent</b>(<i>url</i>) |
235 <p> |
235 <p> |
236 Public method to sync the TOC to the displayed page. |
236 Public method to sync the TOC to the displayed page. |
237 </p> |
237 </p> |
238 <dl> |
238 <dl> |
239 |
239 |
240 <dt><i>url</i></dt> |
240 <dt><i>url</i> (QUrl)</dt> |
241 <dd> |
241 <dd> |
242 URL of the displayed page (QUrl) |
242 URL of the displayed page |
243 </dd> |
243 </dd> |
244 </dl> |
244 </dl> |
245 <dl> |
245 <dl> |
246 <dt>Return:</dt> |
246 <dt>Return:</dt> |
247 <dd> |
247 <dd> |
248 flag indicating a successful synchronization (boolean) |
248 flag indicating a successful synchronization |
|
249 </dd> |
|
250 </dl> |
|
251 <dl> |
|
252 <dt>Return Type:</dt> |
|
253 <dd> |
|
254 bool |
249 </dd> |
255 </dd> |
250 </dl> |
256 </dl> |
251 <div align="right"><a href="#top">Up</a></div> |
257 <div align="right"><a href="#top">Up</a></div> |
252 <hr /> |
258 <hr /> |
253 </body></html> |
259 </body></html> |