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

changeset 5715
cbcca230679f
parent 4918
71caf42a13d8
child 5727
c8842a8d1167
--- a/Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader.html	Tue Apr 25 18:40:46 2017 +0200
+++ b/Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader.html	Tue Apr 25 19:20:18 2017 +0200
@@ -48,7 +48,7 @@
 QObject
 <h3>Class Attributes</h3>
 <table>
-<tr><td>None</td></tr>
+<tr><td>DownloadMainScript</td></tr><tr><td>DownloadRequireScript</td></tr>
 </table>
 <h3>Class Methods</h3>
 <table>
@@ -60,14 +60,14 @@
 <td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td>
 <td>Constructor</td>
 </tr><tr>
-<td><a href="#GreaseMonkeyDownloader.__downloadRequires">__downloadRequires</a></td>
-<td>Private slot to initiate the download of required scripts.</td>
-</tr><tr>
 <td><a href="#GreaseMonkeyDownloader.__requireDownloaded">__requireDownloaded</a></td>
 <td>Private slot to handle the finished download of a required script.</td>
 </tr><tr>
 <td><a href="#GreaseMonkeyDownloader.__scriptDownloaded">__scriptDownloaded</a></td>
 <td>Private slot to handle the finished download of a script.</td>
+</tr><tr>
+<td><a href="#GreaseMonkeyDownloader.updateScript">updateScript</a></td>
+<td>Public method to set the file name for the script to be downloaded.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -76,7 +76,7 @@
 </table>
 <a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a>
 <h4>GreaseMonkeyDownloader (Constructor)</h4>
-<b>GreaseMonkeyDownloader</b>(<i>url, manager</i>)
+<b>GreaseMonkeyDownloader</b>(<i>url, manager, mode</i>)
 <p>
         Constructor
 </p><dl>
@@ -86,13 +86,11 @@
 </dd><dt><i>manager</i> (GreaseMonkeyManager)</dt>
 <dd>
 reference to the GreaseMonkey manager
+</dd><dt><i>mode</i> (int (one of DownloadMainScript, DownloadRequireScript))</dt>
+<dd>
+download mode
 </dd>
-</dl><a NAME="GreaseMonkeyDownloader.__downloadRequires" ID="GreaseMonkeyDownloader.__downloadRequires"></a>
-<h4>GreaseMonkeyDownloader.__downloadRequires</h4>
-<b>__downloadRequires</b>(<i></i>)
-<p>
-        Private slot to initiate the download of required scripts.
-</p><a NAME="GreaseMonkeyDownloader.__requireDownloaded" ID="GreaseMonkeyDownloader.__requireDownloaded"></a>
+</dl><a NAME="GreaseMonkeyDownloader.__requireDownloaded" ID="GreaseMonkeyDownloader.__requireDownloaded"></a>
 <h4>GreaseMonkeyDownloader.__requireDownloaded</h4>
 <b>__requireDownloaded</b>(<i></i>)
 <p>
@@ -102,7 +100,17 @@
 <b>__scriptDownloaded</b>(<i></i>)
 <p>
         Private slot to handle the finished download of a script.
-</p>
+</p><a NAME="GreaseMonkeyDownloader.updateScript" ID="GreaseMonkeyDownloader.updateScript"></a>
+<h4>GreaseMonkeyDownloader.updateScript</h4>
+<b>updateScript</b>(<i>fileName</i>)
+<p>
+        Public method to set the file name for the script to be downloaded.
+</p><dl>
+<dt><i>fileName</i> (str)</dt>
+<dd>
+file name for the script
+</dd>
+</dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 </body></html>
\ No newline at end of file

eric ide

mercurial