src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader</h1>

<p>
Module implementing the downloader for GreaseMonkey scripts.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#GreaseMonkeyDownloader">GreaseMonkeyDownloader</a></td>
<td>Class implementing the downloader for GreaseMonkey scripts.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="GreaseMonkeyDownloader" ID="GreaseMonkeyDownloader"></a>
<h2>GreaseMonkeyDownloader</h2>

<p>
    Class implementing the downloader for GreaseMonkey scripts.
</p>
<h3>Signals</h3>
<dl>

<dt>error()</dt>
<dd>
emitted to indicate a script download error
</dd>
<dt>finished(fileName)</dt>
<dd>
emitted to indicate the end of a script download
        (str)
</dd>
</dl>
<h3>Derived from</h3>
QObject
<h3>Class Attributes</h3>

<table>
<tr><td>DownloadMainScript</td></tr><tr><td>DownloadRequireScript</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#GreaseMonkeyDownloader.__init__">GreaseMonkeyDownloader</a></td>
<td>Constructor</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>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="GreaseMonkeyDownloader.__init__" ID="GreaseMonkeyDownloader.__init__"></a>
<h4>GreaseMonkeyDownloader (Constructor)</h4>
<b>GreaseMonkeyDownloader</b>(<i>url, manager, mode</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>url</i> (QUrl)</dt>
<dd>
URL to download script from
</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.__requireDownloaded" ID="GreaseMonkeyDownloader.__requireDownloaded"></a>
<h4>GreaseMonkeyDownloader.__requireDownloaded</h4>
<b>__requireDownloaded</b>(<i></i>)

<p>
        Private slot to handle the finished download of a required script.
</p>
<a NAME="GreaseMonkeyDownloader.__scriptDownloaded" ID="GreaseMonkeyDownloader.__scriptDownloaded"></a>
<h4>GreaseMonkeyDownloader.__scriptDownloaded</h4>
<b>__scriptDownloaded</b>(<i></i>)

<p>
        Private slot to handle the finished download of a script.
</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>

eric ide

mercurial