|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.Bookmarks.NsHtmlReader</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.Bookmarks.NsHtmlReader</h1> |
|
24 <p> |
|
25 Module implementing a class to read Netscape HTML bookmark files. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#NsHtmlReader">NsHtmlReader</a></td> |
|
35 <td>Class implementing a reader object for Netscape HTML bookmark files.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="NsHtmlReader" ID="NsHtmlReader"></a> |
|
44 <h2>NsHtmlReader</h2> |
|
45 <p> |
|
46 Class implementing a reader object for Netscape HTML bookmark files. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QObject |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>indentSize</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#NsHtmlReader.__init__">NsHtmlReader</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#NsHtmlReader.read">read</a></td> |
|
65 <td>Public method to read a Netscape HTML bookmark file.</td> |
|
66 </tr> |
|
67 </table> |
|
68 <h3>Static Methods</h3> |
|
69 <table> |
|
70 <tr><td>None</td></tr> |
|
71 </table> |
|
72 <a NAME="NsHtmlReader.__init__" ID="NsHtmlReader.__init__"></a> |
|
73 <h4>NsHtmlReader (Constructor)</h4> |
|
74 <b>NsHtmlReader</b>(<i></i>) |
|
75 <p> |
|
76 Constructor |
|
77 </p><a NAME="NsHtmlReader.read" ID="NsHtmlReader.read"></a> |
|
78 <h4>NsHtmlReader.read</h4> |
|
79 <b>read</b>(<i>fileNameOrDevice</i>) |
|
80 <p> |
|
81 Public method to read a Netscape HTML bookmark file. |
|
82 </p><dl> |
|
83 <dt><i>fileNameOrDevice</i></dt> |
|
84 <dd> |
|
85 name of the file to read (string) |
|
86 or reference to the device to read (QIODevice) |
|
87 </dd> |
|
88 </dl><dl> |
|
89 <dt>Returns:</dt> |
|
90 <dd> |
|
91 reference to the root node (BookmarkNode) |
|
92 </dd> |
|
93 </dl> |
|
94 <div align="right"><a href="#top">Up</a></div> |
|
95 <hr /> |
|
96 </body></html> |