68 <table> |
68 <table> |
69 <tr> |
69 <tr> |
70 <td><a href="#GreaseMonkeyScript.__init__">GreaseMonkeyScript</a></td> |
70 <td><a href="#GreaseMonkeyScript.__init__">GreaseMonkeyScript</a></td> |
71 <td>Constructor</td> |
71 <td>Constructor</td> |
72 </tr><tr> |
72 </tr><tr> |
|
73 <td><a href="#GreaseMonkeyScript.__downloadIcon">__downloadIcon</a></td> |
|
74 <td>Private slot to download the script icon.</td> |
|
75 </tr><tr> |
73 <td><a href="#GreaseMonkeyScript.__downloadRequires">__downloadRequires</a></td> |
76 <td><a href="#GreaseMonkeyScript.__downloadRequires">__downloadRequires</a></td> |
74 <td>Private method to download the required scripts.</td> |
77 <td>Private method to download the required scripts.</td> |
75 </tr><tr> |
78 </tr><tr> |
76 <td><a href="#GreaseMonkeyScript.__downloaderError">__downloaderError</a></td> |
79 <td><a href="#GreaseMonkeyScript.__downloaderError">__downloaderError</a></td> |
77 <td>Private slot to handle a downloader error.</td> |
80 <td>Private slot to handle a downloader error.</td> |
78 </tr><tr> |
81 </tr><tr> |
79 <td><a href="#GreaseMonkeyScript.__downloaderFinished">__downloaderFinished</a></td> |
82 <td><a href="#GreaseMonkeyScript.__downloaderFinished">__downloaderFinished</a></td> |
80 <td>Private slot to handle a finished download.</td> |
83 <td>Private slot to handle a finished download.</td> |
81 </tr><tr> |
84 </tr><tr> |
|
85 <td><a href="#GreaseMonkeyScript.__iconDownloaded">__iconDownloaded</a></td> |
|
86 <td>Private slot to handle a finished download of a script icon.</td> |
|
87 </tr><tr> |
82 <td><a href="#GreaseMonkeyScript.__parseScript">__parseScript</a></td> |
88 <td><a href="#GreaseMonkeyScript.__parseScript">__parseScript</a></td> |
83 <td>Private method to parse the given script and populate the data structure.</td> |
89 <td>Private method to parse the given script and populate the data structure.</td> |
84 </tr><tr> |
90 </tr><tr> |
85 <td><a href="#GreaseMonkeyScript.__reloadScript">__reloadScript</a></td> |
91 <td><a href="#GreaseMonkeyScript.__reloadScript">__reloadScript</a></td> |
86 <td>Private method to reload the script.</td> |
92 <td>Private method to reload the script.</td> |
109 <td><a href="#GreaseMonkeyScript.fileName">fileName</a></td> |
115 <td><a href="#GreaseMonkeyScript.fileName">fileName</a></td> |
110 <td>Public method to get the path of the Javascript file.</td> |
116 <td>Public method to get the path of the Javascript file.</td> |
111 </tr><tr> |
117 </tr><tr> |
112 <td><a href="#GreaseMonkeyScript.fullName">fullName</a></td> |
118 <td><a href="#GreaseMonkeyScript.fullName">fullName</a></td> |
113 <td>Public method to get the full name of the script.</td> |
119 <td>Public method to get the full name of the script.</td> |
|
120 </tr><tr> |
|
121 <td><a href="#GreaseMonkeyScript.icon">icon</a></td> |
|
122 <td>Public method to get the icon of the script.</td> |
|
123 </tr><tr> |
|
124 <td><a href="#GreaseMonkeyScript.iconUrl">iconUrl</a></td> |
|
125 <td>Public method to get the icon URL of the script.</td> |
114 </tr><tr> |
126 </tr><tr> |
115 <td><a href="#GreaseMonkeyScript.include">include</a></td> |
127 <td><a href="#GreaseMonkeyScript.include">include</a></td> |
116 <td>Public method to get the list of included URLs.</td> |
128 <td>Public method to get the list of included URLs.</td> |
117 </tr><tr> |
129 </tr><tr> |
118 <td><a href="#GreaseMonkeyScript.isEnabled">isEnabled</a></td> |
130 <td><a href="#GreaseMonkeyScript.isEnabled">isEnabled</a></td> |
170 reference to the manager object (GreaseMonkeyManager) |
182 reference to the manager object (GreaseMonkeyManager) |
171 </dd><dt><i>path</i></dt> |
183 </dd><dt><i>path</i></dt> |
172 <dd> |
184 <dd> |
173 path of the Javascript file (string) |
185 path of the Javascript file (string) |
174 </dd> |
186 </dd> |
175 </dl><a NAME="GreaseMonkeyScript.__downloadRequires" ID="GreaseMonkeyScript.__downloadRequires"></a> |
187 </dl><a NAME="GreaseMonkeyScript.__downloadIcon" ID="GreaseMonkeyScript.__downloadIcon"></a> |
|
188 <h4>GreaseMonkeyScript.__downloadIcon</h4> |
|
189 <b>__downloadIcon</b>(<i></i>) |
|
190 <p> |
|
191 Private slot to download the script icon. |
|
192 </p><a NAME="GreaseMonkeyScript.__downloadRequires" ID="GreaseMonkeyScript.__downloadRequires"></a> |
176 <h4>GreaseMonkeyScript.__downloadRequires</h4> |
193 <h4>GreaseMonkeyScript.__downloadRequires</h4> |
177 <b>__downloadRequires</b>(<i></i>) |
194 <b>__downloadRequires</b>(<i></i>) |
178 <p> |
195 <p> |
179 Private method to download the required scripts. |
196 Private method to download the required scripts. |
180 </p><a NAME="GreaseMonkeyScript.__downloaderError" ID="GreaseMonkeyScript.__downloaderError"></a> |
197 </p><a NAME="GreaseMonkeyScript.__downloaderError" ID="GreaseMonkeyScript.__downloaderError"></a> |
194 Private slot to handle a finished download. |
211 Private slot to handle a finished download. |
195 </p><dl> |
212 </p><dl> |
196 <dt><i>downloader</i> (GreaseMonkeyDownloader)</dt> |
213 <dt><i>downloader</i> (GreaseMonkeyDownloader)</dt> |
197 <dd> |
214 <dd> |
198 reference to the downloader object |
215 reference to the downloader object |
|
216 </dd> |
|
217 </dl><a NAME="GreaseMonkeyScript.__iconDownloaded" ID="GreaseMonkeyScript.__iconDownloaded"></a> |
|
218 <h4>GreaseMonkeyScript.__iconDownloaded</h4> |
|
219 <b>__iconDownloaded</b>(<i>reply</i>) |
|
220 <p> |
|
221 Private slot to handle a finished download of a script icon. |
|
222 </p><dl> |
|
223 <dt><i>reply</i> (QNetworkReply)</dt> |
|
224 <dd> |
|
225 reference to the network reply |
199 </dd> |
226 </dd> |
200 </dl><a NAME="GreaseMonkeyScript.__parseScript" ID="GreaseMonkeyScript.__parseScript"></a> |
227 </dl><a NAME="GreaseMonkeyScript.__parseScript" ID="GreaseMonkeyScript.__parseScript"></a> |
201 <h4>GreaseMonkeyScript.__parseScript</h4> |
228 <h4>GreaseMonkeyScript.__parseScript</h4> |
202 <b>__parseScript</b>(<i></i>) |
229 <b>__parseScript</b>(<i></i>) |
203 <p> |
230 <p> |
307 </p><dl> |
334 </p><dl> |
308 <dt>Returns:</dt> |
335 <dt>Returns:</dt> |
309 <dd> |
336 <dd> |
310 full name of the script (string) |
337 full name of the script (string) |
311 </dd> |
338 </dd> |
|
339 </dl><a NAME="GreaseMonkeyScript.icon" ID="GreaseMonkeyScript.icon"></a> |
|
340 <h4>GreaseMonkeyScript.icon</h4> |
|
341 <b>icon</b>(<i></i>) |
|
342 <p> |
|
343 Public method to get the icon of the script. |
|
344 </p><dl> |
|
345 <dt>Returns:</dt> |
|
346 <dd> |
|
347 script icon |
|
348 </dd> |
|
349 </dl><dl> |
|
350 <dt>Return Type:</dt> |
|
351 <dd> |
|
352 QIcon |
|
353 </dd> |
|
354 </dl><a NAME="GreaseMonkeyScript.iconUrl" ID="GreaseMonkeyScript.iconUrl"></a> |
|
355 <h4>GreaseMonkeyScript.iconUrl</h4> |
|
356 <b>iconUrl</b>(<i></i>) |
|
357 <p> |
|
358 Public method to get the icon URL of the script. |
|
359 </p><dl> |
|
360 <dt>Returns:</dt> |
|
361 <dd> |
|
362 icon URL of the script (QUrl) |
|
363 </dd> |
312 </dl><a NAME="GreaseMonkeyScript.include" ID="GreaseMonkeyScript.include"></a> |
364 </dl><a NAME="GreaseMonkeyScript.include" ID="GreaseMonkeyScript.include"></a> |
313 <h4>GreaseMonkeyScript.include</h4> |
365 <h4>GreaseMonkeyScript.include</h4> |
314 <b>include</b>(<i></i>) |
366 <b>include</b>(<i></i>) |
315 <p> |
367 <p> |
316 Public method to get the list of included URLs. |
368 Public method to get the list of included URLs. |