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

branch
maintenance
changeset 5730
6422afc7adc4
parent 5727
c8842a8d1167
equal deleted inserted replaced
5695:9a71bd9e2e37 5730:6422afc7adc4
41 <hr /><hr /> 41 <hr /><hr />
42 <a NAME="GreaseMonkeyDownloader" ID="GreaseMonkeyDownloader"></a> 42 <a NAME="GreaseMonkeyDownloader" ID="GreaseMonkeyDownloader"></a>
43 <h2>GreaseMonkeyDownloader</h2> 43 <h2>GreaseMonkeyDownloader</h2>
44 <p> 44 <p>
45 Class implementing the downloader for GreaseMonkey scripts. 45 Class implementing the downloader for GreaseMonkey scripts.
46 </p> 46 </p><h3>Signals</h3>
47 <dl>
48 <dt>error()</dt>
49 <dd>
50 emitted to indicate a script download error
51 </dd><dt>finished(fileName)</dt>
52 <dd>
53 emitted to indicate the end of a script download
54 (str)
55 </dd>
56 </dl>
47 <h3>Derived from</h3> 57 <h3>Derived from</h3>
48 QObject 58 QObject
49 <h3>Class Attributes</h3> 59 <h3>Class Attributes</h3>
50 <table> 60 <table>
51 <tr><td>None</td></tr> 61 <tr><td>DownloadMainScript</td></tr><tr><td>DownloadRequireScript</td></tr>
52 </table> 62 </table>
53 <h3>Class Methods</h3> 63 <h3>Class Methods</h3>
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
58 <table> 68 <table>
59 <tr> 69 <tr>
60 <td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td> 70 <td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td>
61 <td>Constructor</td> 71 <td>Constructor</td>
62 </tr><tr> 72 </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> 73 <td><a href="#GreaseMonkeyDownloader.__requireDownloaded">__requireDownloaded</a></td>
67 <td>Private slot to handle the finished download of a required script.</td> 74 <td>Private slot to handle the finished download of a required script.</td>
68 </tr><tr> 75 </tr><tr>
69 <td><a href="#GreaseMonkeyDownloader.__scriptDownloaded">__scriptDownloaded</a></td> 76 <td><a href="#GreaseMonkeyDownloader.__scriptDownloaded">__scriptDownloaded</a></td>
70 <td>Private slot to handle the finished download of a script.</td> 77 <td>Private slot to handle the finished download of a script.</td>
78 </tr><tr>
79 <td><a href="#GreaseMonkeyDownloader.updateScript">updateScript</a></td>
80 <td>Public method to set the file name for the script to be downloaded.</td>
71 </tr> 81 </tr>
72 </table> 82 </table>
73 <h3>Static Methods</h3> 83 <h3>Static Methods</h3>
74 <table> 84 <table>
75 <tr><td>None</td></tr> 85 <tr><td>None</td></tr>
76 </table> 86 </table>
77 <a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a> 87 <a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a>
78 <h4>GreaseMonkeyDownloader (Constructor)</h4> 88 <h4>GreaseMonkeyDownloader (Constructor)</h4>
79 <b>GreaseMonkeyDownloader</b>(<i>url, manager</i>) 89 <b>GreaseMonkeyDownloader</b>(<i>url, manager, mode</i>)
80 <p> 90 <p>
81 Constructor 91 Constructor
82 </p><dl> 92 </p><dl>
83 <dt><i>url</i> (QUrl)</dt> 93 <dt><i>url</i> (QUrl)</dt>
84 <dd> 94 <dd>
85 URL to download script from 95 URL to download script from
86 </dd><dt><i>manager</i> (GreaseMonkeyManager)</dt> 96 </dd><dt><i>manager</i> (GreaseMonkeyManager)</dt>
87 <dd> 97 <dd>
88 reference to the GreaseMonkey manager 98 reference to the GreaseMonkey manager
99 </dd><dt><i>mode</i> (int (one of DownloadMainScript, DownloadRequireScript))</dt>
100 <dd>
101 download mode
89 </dd> 102 </dd>
90 </dl><a NAME="GreaseMonkeyDownloader.__downloadRequires" ID="GreaseMonkeyDownloader.__downloadRequires"></a> 103 </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> 104 <h4>GreaseMonkeyDownloader.__requireDownloaded</h4>
97 <b>__requireDownloaded</b>(<i></i>) 105 <b>__requireDownloaded</b>(<i></i>)
98 <p> 106 <p>
99 Private slot to handle the finished download of a required script. 107 Private slot to handle the finished download of a required script.
100 </p><a NAME="GreaseMonkeyDownloader.__scriptDownloaded" ID="GreaseMonkeyDownloader.__scriptDownloaded"></a> 108 </p><a NAME="GreaseMonkeyDownloader.__scriptDownloaded" ID="GreaseMonkeyDownloader.__scriptDownloaded"></a>
101 <h4>GreaseMonkeyDownloader.__scriptDownloaded</h4> 109 <h4>GreaseMonkeyDownloader.__scriptDownloaded</h4>
102 <b>__scriptDownloaded</b>(<i></i>) 110 <b>__scriptDownloaded</b>(<i></i>)
103 <p> 111 <p>
104 Private slot to handle the finished download of a script. 112 Private slot to handle the finished download of a script.
105 </p> 113 </p><a NAME="GreaseMonkeyDownloader.updateScript" ID="GreaseMonkeyDownloader.updateScript"></a>
114 <h4>GreaseMonkeyDownloader.updateScript</h4>
115 <b>updateScript</b>(<i>fileName</i>)
116 <p>
117 Public method to set the file name for the script to be downloaded.
118 </p><dl>
119 <dt><i>fileName</i> (str)</dt>
120 <dd>
121 file name for the script
122 </dd>
123 </dl>
106 <div align="right"><a href="#top">Up</a></div> 124 <div align="right"><a href="#top">Up</a></div>
107 <hr /> 125 <hr />
108 </body></html> 126 </body></html>

eric ide

mercurial