|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Helpviewer.OpenSearch.OpenSearchWriter</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.OpenSearch.OpenSearchWriter</h1> |
|
23 <p> |
|
24 Module implementing a writer for open search engine descriptions. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#OpenSearchWriter">OpenSearchWriter</a></td> |
|
34 <td>Class implementing a writer for open search engine descriptions.</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="OpenSearchWriter" ID="OpenSearchWriter"></a> |
|
43 <h2>OpenSearchWriter</h2> |
|
44 <p> |
|
45 Class implementing a writer for open search engine descriptions. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QXmlStreamWriter |
|
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="#OpenSearchWriter.__init__">OpenSearchWriter</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#OpenSearchWriter.__write">__write</a></td> |
|
64 <td>Private method to write the description of an engine.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#OpenSearchWriter.write">write</a></td> |
|
67 <td>Public method to write the description of an engine.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <h3>Static Methods</h3> |
|
71 <table> |
|
72 <tr><td>None</td></tr> |
|
73 </table> |
|
74 <a NAME="OpenSearchWriter.__init__" ID="OpenSearchWriter.__init__"></a> |
|
75 <h4>OpenSearchWriter (Constructor)</h4> |
|
76 <b>OpenSearchWriter</b>(<i></i>) |
|
77 <p> |
|
78 Constructor |
|
79 </p><a NAME="OpenSearchWriter.__write" ID="OpenSearchWriter.__write"></a> |
|
80 <h4>OpenSearchWriter.__write</h4> |
|
81 <b>__write</b>(<i>engine</i>) |
|
82 <p> |
|
83 Private method to write the description of an engine. |
|
84 </p><dl> |
|
85 <dt><i>engine</i></dt> |
|
86 <dd> |
|
87 reference to the engine (OpenSearchEngine) |
|
88 </dd> |
|
89 </dl><a NAME="OpenSearchWriter.write" ID="OpenSearchWriter.write"></a> |
|
90 <h4>OpenSearchWriter.write</h4> |
|
91 <b>write</b>(<i>device, engine</i>) |
|
92 <p> |
|
93 Public method to write the description of an engine. |
|
94 </p><dl> |
|
95 <dt><i>device</i></dt> |
|
96 <dd> |
|
97 reference to the device to write to (QIODevice) |
|
98 </dd><dt><i>engine</i></dt> |
|
99 <dd> |
|
100 reference to the engine (OpenSearchEngine) |
|
101 </dd> |
|
102 </dl><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 flag indicating success (boolean) |
|
106 </dd> |
|
107 </dl> |
|
108 <div align="right"><a href="#top">Up</a></div> |
|
109 <hr /> |
|
110 </body></html> |