2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the manager for GreaseMonkey scripts. | 7 Module implementing the manager for GreaseMonkey scripts. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 import os | 12 import os |
11 | 13 |
12 from PyQt4.QtCore import pyqtSignal, QObject, QTimer, QFile, QDir, QSettings, QUrl, \ | 14 from PyQt4.QtCore import pyqtSignal, QObject, QTimer, QFile, QDir, QSettings, QUrl, \ |
13 QByteArray | 15 QByteArray |
27 """ | 29 """ |
28 Constructor | 30 Constructor |
29 | 31 |
30 @param parent reference to the parent object (QObject) | 32 @param parent reference to the parent object (QObject) |
31 """ | 33 """ |
32 super().__init__(parent) | 34 super(GreaseMonkeyManager, self).__init__(parent) |
33 | 35 |
34 self.__disabledScripts = [] | 36 self.__disabledScripts = [] |
35 self.__endScripts = [] | 37 self.__endScripts = [] |
36 self.__startScripts = [] | 38 self.__startScripts = [] |
37 self.__downloaders = [] | 39 self.__downloaders = [] |