eric6.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader
Module implementing the downloader for GreaseMonkey scripts.
Global Attributes
Classes
Functions
GreaseMonkeyDownloader
    Class implementing the downloader for GreaseMonkey scripts.
Signals
- error()
- 
emitted to indicate a script download error
- finished(fileName)
- 
emitted to indicate the end of a script download
        (str)
Derived from
QObject
Class Attributes
| DownloadMainScript | 
| DownloadRequireScript | 
Class Methods
Methods
Static Methods
GreaseMonkeyDownloader (Constructor)
GreaseMonkeyDownloader(url, manager, mode)
        Constructor
- url (QUrl)
- 
URL to download script from
- manager (GreaseMonkeyManager)
- 
reference to the GreaseMonkey manager
- mode (int (one of DownloadMainScript, DownloadRequireScript))
- 
download mode
GreaseMonkeyDownloader.__requireDownloaded
__requireDownloaded()
        Private slot to handle the finished download of a required script.
GreaseMonkeyDownloader.__scriptDownloaded
__scriptDownloaded()
        Private slot to handle the finished download of a script.
GreaseMonkeyDownloader.updateScript
updateScript(fileName)
        Public method to set the file name for the script to be downloaded.
- fileName (str)
- 
file name for the script