20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Helpviewer.HelpDocsInstaller</h1> |
23 <h1>eric5.Helpviewer.HelpDocsInstaller</h1> |
24 <p> |
24 <p> |
25 Module implementing a thread class populating and updating the QtHelp |
25 Module implementing a thread class populating and updating the QtHelp |
26 documentation database. |
26 documentation database. |
27 </p> |
27 </p> |
28 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
29 <table> |
29 <table> |
30 <tr><td>None</td></tr> |
30 <tr><td>None</td></tr> |
31 </table> |
31 </table> |
32 <h3>Classes</h3> |
32 <h3>Classes</h3> |
33 <table> |
33 <table> |
34 <tr> |
34 <tr> |
35 <td><a href="#HelpDocsInstaller">HelpDocsInstaller</a></td> |
35 <td><a href="#HelpDocsInstaller">HelpDocsInstaller</a></td> |
36 <td>Class implementing the worker thread populating and updating the QtHelp documentation database.</td> |
36 <td>Class implementing the worker thread populating and updating the QtHelp documentation database.</td> |
37 </tr> |
37 </tr> |
38 </table> |
38 </table> |
39 <h3>Functions</h3> |
39 <h3>Functions</h3> |
40 <table> |
40 <table> |
41 <tr><td>None</td></tr> |
41 <tr><td>None</td></tr> |
42 </table> |
42 </table> |
43 <hr /><hr /> |
43 <hr /><hr /> |
44 <a NAME="HelpDocsInstaller" ID="HelpDocsInstaller"></a> |
44 <a NAME="HelpDocsInstaller" ID="HelpDocsInstaller"></a> |
45 <h2>HelpDocsInstaller</h2> |
45 <h2>HelpDocsInstaller</h2> |
46 <p> |
46 <p> |
47 Class implementing the worker thread populating and updating the QtHelp |
47 Class implementing the worker thread populating and updating the QtHelp |
48 documentation database. |
48 documentation database. |
49 </p><h4>Signals</h4> |
49 </p><h4>Signals</h4> |
50 <dl> |
50 <dl> |
51 <dt>docsInstalled(bool)</dt> |
51 <dt>docsInstalled(bool)</dt> |
52 <dd> |
52 <dd> |
53 emitted after the installation has finished |
53 emitted after the installation has finished |
54 </dd><dt>errorMessage(const QString&)</dt> |
54 </dd><dt>errorMessage(const QString&)</dt> |
55 <dd> |
55 <dd> |
56 emitted, if an error occurred during |
56 emitted, if an error occurred during |
57 the installation of the documentation |
57 the installation of the documentation |
58 </dd> |
58 </dd> |
59 </dl> |
59 </dl> |
60 <h3>Derived from</h3> |
60 <h3>Derived from</h3> |
61 QThread |
61 QThread |
62 <h3>Class Attributes</h3> |
62 <h3>Class Attributes</h3> |
65 </table> |
65 </table> |
66 <h3>Methods</h3> |
66 <h3>Methods</h3> |
67 <table> |
67 <table> |
68 <tr> |
68 <tr> |
69 <td><a href="#HelpDocsInstaller.__init__">HelpDocsInstaller</a></td> |
69 <td><a href="#HelpDocsInstaller.__init__">HelpDocsInstaller</a></td> |
70 <td>Constructor</td> |
70 <td>Constructor</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#HelpDocsInstaller.__installEric5Doc">__installEric5Doc</a></td> |
72 <td><a href="#HelpDocsInstaller.__installEric5Doc">__installEric5Doc</a></td> |
73 <td>Private method to install/update the eric5 help documentation.</td> |
73 <td>Private method to install/update the eric5 help documentation.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#HelpDocsInstaller.__installQtDoc">__installQtDoc</a></td> |
75 <td><a href="#HelpDocsInstaller.__installQtDoc">__installQtDoc</a></td> |
76 <td>Private method to install/update a Qt help document.</td> |
76 <td>Private method to install/update a Qt help document.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#HelpDocsInstaller.installDocs">installDocs</a></td> |
78 <td><a href="#HelpDocsInstaller.installDocs">installDocs</a></td> |
79 <td>Public method to start the installation procedure.</td> |
79 <td>Public method to start the installation procedure.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#HelpDocsInstaller.run">run</a></td> |
81 <td><a href="#HelpDocsInstaller.run">run</a></td> |
82 <td>Protected method executed by the thread.</td> |
82 <td>Protected method executed by the thread.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#HelpDocsInstaller.stop">stop</a></td> |
84 <td><a href="#HelpDocsInstaller.stop">stop</a></td> |
85 <td>Public slot to stop the installation procedure.</td> |
85 <td>Public slot to stop the installation procedure.</td> |
86 </tr> |
86 </tr> |
87 </table> |
87 </table> |
88 <a NAME="HelpDocsInstaller.__init__" ID="HelpDocsInstaller.__init__"></a> |
88 <a NAME="HelpDocsInstaller.__init__" ID="HelpDocsInstaller.__init__"></a> |
89 <h4>HelpDocsInstaller (Constructor)</h4> |
89 <h4>HelpDocsInstaller (Constructor)</h4> |
90 <b>HelpDocsInstaller</b>(<i>collection</i>) |
90 <b>HelpDocsInstaller</b>(<i>collection</i>) |
91 <p> |
91 <p> |
92 Constructor |
92 Constructor |
93 </p><dl> |
93 </p><dl> |
94 <dt><i>collection</i></dt> |
94 <dt><i>collection</i></dt> |
95 <dd> |
95 <dd> |
96 full pathname of the collection file (string) |
96 full pathname of the collection file (string) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="HelpDocsInstaller.__installEric5Doc" ID="HelpDocsInstaller.__installEric5Doc"></a> |
98 </dl><a NAME="HelpDocsInstaller.__installEric5Doc" ID="HelpDocsInstaller.__installEric5Doc"></a> |
99 <h4>HelpDocsInstaller.__installEric5Doc</h4> |
99 <h4>HelpDocsInstaller.__installEric5Doc</h4> |
100 <b>__installEric5Doc</b>(<i>engine</i>) |
100 <b>__installEric5Doc</b>(<i>engine</i>) |
101 <p> |
101 <p> |
102 Private method to install/update the eric5 help documentation. |
102 Private method to install/update the eric5 help documentation. |
103 </p><dl> |
103 </p><dl> |
104 <dt><i>engine</i></dt> |
104 <dt><i>engine</i></dt> |
105 <dd> |
105 <dd> |
106 reference to the help engine (QHelpEngineCore) |
106 reference to the help engine (QHelpEngineCore) |
107 </dd> |
107 </dd> |
108 </dl><dl> |
108 </dl><dl> |
109 <dt>Returns:</dt> |
109 <dt>Returns:</dt> |
110 <dd> |
110 <dd> |
111 flag indicating success (boolean) |
111 flag indicating success (boolean) |
112 </dd> |
112 </dd> |
113 </dl><a NAME="HelpDocsInstaller.__installQtDoc" ID="HelpDocsInstaller.__installQtDoc"></a> |
113 </dl><a NAME="HelpDocsInstaller.__installQtDoc" ID="HelpDocsInstaller.__installQtDoc"></a> |
114 <h4>HelpDocsInstaller.__installQtDoc</h4> |
114 <h4>HelpDocsInstaller.__installQtDoc</h4> |
115 <b>__installQtDoc</b>(<i>name, engine</i>) |
115 <b>__installQtDoc</b>(<i>name, engine</i>) |
116 <p> |
116 <p> |
117 Private method to install/update a Qt help document. |
117 Private method to install/update a Qt help document. |
118 </p><dl> |
118 </p><dl> |
119 <dt><i>name</i></dt> |
119 <dt><i>name</i></dt> |
120 <dd> |
120 <dd> |
121 name of the Qt help document (string) |
121 name of the Qt help document (string) |
122 </dd><dt><i>engine</i></dt> |
122 </dd><dt><i>engine</i></dt> |
123 <dd> |
123 <dd> |
124 reference to the help engine (QHelpEngineCore) |
124 reference to the help engine (QHelpEngineCore) |
125 </dd> |
125 </dd> |
126 </dl><dl> |
126 </dl><dl> |
127 <dt>Returns:</dt> |
127 <dt>Returns:</dt> |
128 <dd> |
128 <dd> |
129 flag indicating success (boolean) |
129 flag indicating success (boolean) |
130 </dd> |
130 </dd> |
131 </dl><a NAME="HelpDocsInstaller.installDocs" ID="HelpDocsInstaller.installDocs"></a> |
131 </dl><a NAME="HelpDocsInstaller.installDocs" ID="HelpDocsInstaller.installDocs"></a> |
132 <h4>HelpDocsInstaller.installDocs</h4> |
132 <h4>HelpDocsInstaller.installDocs</h4> |
133 <b>installDocs</b>(<i></i>) |
133 <b>installDocs</b>(<i></i>) |
134 <p> |
134 <p> |
135 Public method to start the installation procedure. |
135 Public method to start the installation procedure. |
136 </p><a NAME="HelpDocsInstaller.run" ID="HelpDocsInstaller.run"></a> |
136 </p><a NAME="HelpDocsInstaller.run" ID="HelpDocsInstaller.run"></a> |
137 <h4>HelpDocsInstaller.run</h4> |
137 <h4>HelpDocsInstaller.run</h4> |
138 <b>run</b>(<i></i>) |
138 <b>run</b>(<i></i>) |
139 <p> |
139 <p> |
140 Protected method executed by the thread. |
140 Protected method executed by the thread. |
141 </p><a NAME="HelpDocsInstaller.stop" ID="HelpDocsInstaller.stop"></a> |
141 </p><a NAME="HelpDocsInstaller.stop" ID="HelpDocsInstaller.stop"></a> |
142 <h4>HelpDocsInstaller.stop</h4> |
142 <h4>HelpDocsInstaller.stop</h4> |
143 <b>stop</b>(<i></i>) |
143 <b>stop</b>(<i></i>) |
144 <p> |
144 <p> |
145 Public slot to stop the installation procedure. |
145 Public slot to stop the installation procedure. |
146 </p> |
146 </p> |
147 <div align="right"><a href="#top">Up</a></div> |
147 <div align="right"><a href="#top">Up</a></div> |
148 <hr /> |
148 <hr /> |
149 </body></html> |
149 </body></html> |