src/eric7/WebBrowser/Network/ProtocolHandlerManager.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9623:9c1f429cb56b 9624:b47dfa7a137d
12 import os 12 import os
13 13
14 from PyQt6.QtCore import QObject, QUrl 14 from PyQt6.QtCore import QObject, QUrl
15 from PyQt6.QtWebEngineCore import QWebEnginePage 15 from PyQt6.QtWebEngineCore import QWebEnginePage
16 16
17 from eric7 import Utilities 17 from eric7 import Globals
18 18
19 19
20 class ProtocolHandlerManager(QObject): 20 class ProtocolHandlerManager(QObject):
21 """ 21 """
22 Class implementing the protocol handler manager. 22 Class implementing the protocol handler manager.
91 91
92 @return name of the protocol handlers file 92 @return name of the protocol handlers file
93 @rtype str 93 @rtype str
94 """ 94 """
95 return os.path.join( 95 return os.path.join(
96 Utilities.getConfigDir(), "web_browser", "protocol_handlers.json" 96 Globals.getConfigDir(), "web_browser", "protocol_handlers.json"
97 ) 97 )
98 98
99 def __load(self): 99 def __load(self):
100 """ 100 """
101 Private method to load the registered protocol handlers. 101 Private method to load the registered protocol handlers.

eric ide

mercurial