95 _personalInformationManager = None |
95 _personalInformationManager = None |
96 _greaseMonkeyManager = None |
96 _greaseMonkeyManager = None |
97 _notification = None |
97 _notification = None |
98 _featurePermissionManager = None |
98 _featurePermissionManager = None |
99 _flashCookieManager = None |
99 _flashCookieManager = None |
|
100 _imageSearchEngine = None |
100 |
101 |
101 def __init__(self, home, path, parent, name, fromEric=False, |
102 def __init__(self, home, path, parent, name, fromEric=False, |
102 initShortcutsOnly=False, searchWord=None, |
103 initShortcutsOnly=False, searchWord=None, |
103 private=False, qthelp=False, settingsDir=""): |
104 private=False, qthelp=False, settingsDir=""): |
104 """ |
105 """ |
3446 cls._flashCookieManager = FlashCookieManager() |
3447 cls._flashCookieManager = FlashCookieManager() |
3447 |
3448 |
3448 return cls._flashCookieManager |
3449 return cls._flashCookieManager |
3449 |
3450 |
3450 @classmethod |
3451 @classmethod |
|
3452 def imageSearchEngine(cls): |
|
3453 """ |
|
3454 Class method to get a reference to the image search engine. |
|
3455 |
|
3456 @return reference to the image finder object |
|
3457 @rtype ImageSearchEngine |
|
3458 """ |
|
3459 if cls._imageSearchEngine is None: |
|
3460 from .ImageSearch.ImageSearchEngine import \ |
|
3461 ImageSearchEngine |
|
3462 cls._imageSearchEngine = ImageSearchEngine() |
|
3463 |
|
3464 return cls._imageSearchEngine |
|
3465 |
|
3466 @classmethod |
3451 def mainWindow(cls): |
3467 def mainWindow(cls): |
3452 """ |
3468 """ |
3453 Class method to get a reference to the main window. |
3469 Class method to get a reference to the main window. |
3454 |
3470 |
3455 @return reference to the main window (WebBrowserWindow) |
3471 @return reference to the main window (WebBrowserWindow) |