Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader.html

changeset 5715
cbcca230679f
parent 4918
71caf42a13d8
child 5727
c8842a8d1167
equal deleted inserted replaced
5714:90c57b50600f 5715:cbcca230679f
46 </p> 46 </p>
47 <h3>Derived from</h3> 47 <h3>Derived from</h3>
48 QObject 48 QObject
49 <h3>Class Attributes</h3> 49 <h3>Class Attributes</h3>
50 <table> 50 <table>
51 <tr><td>None</td></tr> 51 <tr><td>DownloadMainScript</td></tr><tr><td>DownloadRequireScript</td></tr>
52 </table> 52 </table>
53 <h3>Class Methods</h3> 53 <h3>Class Methods</h3>
54 <table> 54 <table>
55 <tr><td>None</td></tr> 55 <tr><td>None</td></tr>
56 </table> 56 </table>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td> 60 <td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td>
61 <td>Constructor</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#GreaseMonkeyDownloader.__downloadRequires">__downloadRequires</a></td>
64 <td>Private slot to initiate the download of required scripts.</td>
65 </tr><tr>
66 <td><a href="#GreaseMonkeyDownloader.__requireDownloaded">__requireDownloaded</a></td> 63 <td><a href="#GreaseMonkeyDownloader.__requireDownloaded">__requireDownloaded</a></td>
67 <td>Private slot to handle the finished download of a required script.</td> 64 <td>Private slot to handle the finished download of a required script.</td>
68 </tr><tr> 65 </tr><tr>
69 <td><a href="#GreaseMonkeyDownloader.__scriptDownloaded">__scriptDownloaded</a></td> 66 <td><a href="#GreaseMonkeyDownloader.__scriptDownloaded">__scriptDownloaded</a></td>
70 <td>Private slot to handle the finished download of a script.</td> 67 <td>Private slot to handle the finished download of a script.</td>
68 </tr><tr>
69 <td><a href="#GreaseMonkeyDownloader.updateScript">updateScript</a></td>
70 <td>Public method to set the file name for the script to be downloaded.</td>
71 </tr> 71 </tr>
72 </table> 72 </table>
73 <h3>Static Methods</h3> 73 <h3>Static Methods</h3>
74 <table> 74 <table>
75 <tr><td>None</td></tr> 75 <tr><td>None</td></tr>
76 </table> 76 </table>
77 <a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a> 77 <a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a>
78 <h4>GreaseMonkeyDownloader (Constructor)</h4> 78 <h4>GreaseMonkeyDownloader (Constructor)</h4>
79 <b>GreaseMonkeyDownloader</b>(<i>url, manager</i>) 79 <b>GreaseMonkeyDownloader</b>(<i>url, manager, mode</i>)
80 <p> 80 <p>
81 Constructor 81 Constructor
82 </p><dl> 82 </p><dl>
83 <dt><i>url</i> (QUrl)</dt> 83 <dt><i>url</i> (QUrl)</dt>
84 <dd> 84 <dd>
85 URL to download script from 85 URL to download script from
86 </dd><dt><i>manager</i> (GreaseMonkeyManager)</dt> 86 </dd><dt><i>manager</i> (GreaseMonkeyManager)</dt>
87 <dd> 87 <dd>
88 reference to the GreaseMonkey manager 88 reference to the GreaseMonkey manager
89 </dd><dt><i>mode</i> (int (one of DownloadMainScript, DownloadRequireScript))</dt>
90 <dd>
91 download mode
89 </dd> 92 </dd>
90 </dl><a NAME="GreaseMonkeyDownloader.__downloadRequires" ID="GreaseMonkeyDownloader.__downloadRequires"></a> 93 </dl><a NAME="GreaseMonkeyDownloader.__requireDownloaded" ID="GreaseMonkeyDownloader.__requireDownloaded"></a>
91 <h4>GreaseMonkeyDownloader.__downloadRequires</h4>
92 <b>__downloadRequires</b>(<i></i>)
93 <p>
94 Private slot to initiate the download of required scripts.
95 </p><a NAME="GreaseMonkeyDownloader.__requireDownloaded" ID="GreaseMonkeyDownloader.__requireDownloaded"></a>
96 <h4>GreaseMonkeyDownloader.__requireDownloaded</h4> 94 <h4>GreaseMonkeyDownloader.__requireDownloaded</h4>
97 <b>__requireDownloaded</b>(<i></i>) 95 <b>__requireDownloaded</b>(<i></i>)
98 <p> 96 <p>
99 Private slot to handle the finished download of a required script. 97 Private slot to handle the finished download of a required script.
100 </p><a NAME="GreaseMonkeyDownloader.__scriptDownloaded" ID="GreaseMonkeyDownloader.__scriptDownloaded"></a> 98 </p><a NAME="GreaseMonkeyDownloader.__scriptDownloaded" ID="GreaseMonkeyDownloader.__scriptDownloaded"></a>
101 <h4>GreaseMonkeyDownloader.__scriptDownloaded</h4> 99 <h4>GreaseMonkeyDownloader.__scriptDownloaded</h4>
102 <b>__scriptDownloaded</b>(<i></i>) 100 <b>__scriptDownloaded</b>(<i></i>)
103 <p> 101 <p>
104 Private slot to handle the finished download of a script. 102 Private slot to handle the finished download of a script.
105 </p> 103 </p><a NAME="GreaseMonkeyDownloader.updateScript" ID="GreaseMonkeyDownloader.updateScript"></a>
104 <h4>GreaseMonkeyDownloader.updateScript</h4>
105 <b>updateScript</b>(<i>fileName</i>)
106 <p>
107 Public method to set the file name for the script to be downloaded.
108 </p><dl>
109 <dt><i>fileName</i> (str)</dt>
110 <dd>
111 file name for the script
112 </dd>
113 </dl>
106 <div align="right"><a href="#top">Up</a></div> 114 <div align="right"><a href="#top">Up</a></div>
107 <hr /> 115 <hr />
108 </body></html> 116 </body></html>

eric ide

mercurial