eric6/Documentation/Source/eric6.Helpviewer.Network.QtHelpAccessHandler.html

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.Network.QtHelpAccessHandler</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.Network.QtHelpAccessHandler</h1>
23 <p>
24 Module implementing a scheme access handler for QtHelp.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>ExtensionMap</td></tr><tr><td>QtDocPath</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#QtHelpAccessHandler">QtHelpAccessHandler</a></td>
34 <td>Class implementing a scheme access handler for QtHelp.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="QtHelpAccessHandler" ID="QtHelpAccessHandler"></a>
43 <h2>QtHelpAccessHandler</h2>
44 <p>
45 Class implementing a scheme access handler for QtHelp.
46 </p>
47 <h3>Derived from</h3>
48 SchemeAccessHandler
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#QtHelpAccessHandler.__init__">QtHelpAccessHandler</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#QtHelpAccessHandler.__mimeFromUrl">__mimeFromUrl</a></td>
64 <td>Private method to guess the mime type given an URL.</td>
65 </tr><tr>
66 <td><a href="#QtHelpAccessHandler.createRequest">createRequest</a></td>
67 <td>Public method to create a request.</td>
68 </tr>
69 </table>
70 <h3>Static Methods</h3>
71 <table>
72 <tr><td>None</td></tr>
73 </table>
74 <a NAME="QtHelpAccessHandler.__init__" ID="QtHelpAccessHandler.__init__"></a>
75 <h4>QtHelpAccessHandler (Constructor)</h4>
76 <b>QtHelpAccessHandler</b>(<i>engine, parent=None</i>)
77 <p>
78 Constructor
79 </p><dl>
80 <dt><i>engine</i></dt>
81 <dd>
82 reference to the help engine (QHelpEngine)
83 </dd><dt><i>parent</i></dt>
84 <dd>
85 reference to the parent object (QObject)
86 </dd>
87 </dl><a NAME="QtHelpAccessHandler.__mimeFromUrl" ID="QtHelpAccessHandler.__mimeFromUrl"></a>
88 <h4>QtHelpAccessHandler.__mimeFromUrl</h4>
89 <b>__mimeFromUrl</b>(<i>url</i>)
90 <p>
91 Private method to guess the mime type given an URL.
92 </p><dl>
93 <dt><i>url</i></dt>
94 <dd>
95 URL to guess the mime type from (QUrl)
96 </dd>
97 </dl><dl>
98 <dt>Returns:</dt>
99 <dd>
100 mime type for the given URL (string)
101 </dd>
102 </dl><a NAME="QtHelpAccessHandler.createRequest" ID="QtHelpAccessHandler.createRequest"></a>
103 <h4>QtHelpAccessHandler.createRequest</h4>
104 <b>createRequest</b>(<i>op, request, outgoingData=None</i>)
105 <p>
106 Public method to create a request.
107 </p><dl>
108 <dt><i>op</i></dt>
109 <dd>
110 the operation to be performed
111 (QNetworkAccessManager.Operation)
112 </dd><dt><i>request</i></dt>
113 <dd>
114 reference to the request object (QNetworkRequest)
115 </dd><dt><i>outgoingData</i></dt>
116 <dd>
117 reference to an IODevice containing data to be sent
118 (QIODevice)
119 </dd>
120 </dl><dl>
121 <dt>Returns:</dt>
122 <dd>
123 reference to the created reply object (QNetworkReply)
124 </dd>
125 </dl>
126 <div align="right"><a href="#top">Up</a></div>
127 <hr />
128 </body></html>

eric ide

mercurial