src/eric7/EricNetwork/EricNetworkProxyFactory.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
8 """ 8 """
9 9
10 import os 10 import os
11 import re 11 import re
12 12
13 from PyQt6.QtCore import QUrl, QCoreApplication 13 from PyQt6.QtCore import QCoreApplication, QUrl
14 from PyQt6.QtNetwork import QNetworkProxy, QNetworkProxyFactory, QNetworkProxyQuery
14 from PyQt6.QtWidgets import QDialog 15 from PyQt6.QtWidgets import QDialog
15 from PyQt6.QtNetwork import QNetworkProxyFactory, QNetworkProxy, QNetworkProxyQuery 16
16 17 from eric7 import Globals, Preferences, Utilities
17 from eric7.EricWidgets import EricMessageBox 18 from eric7.EricWidgets import EricMessageBox
18
19 from eric7 import Globals, Preferences, Utilities
20 19
21 20
22 def schemeFromProxyType(proxyType): 21 def schemeFromProxyType(proxyType):
23 """ 22 """
24 Module function to determine the scheme name from the proxy type. 23 Module function to determine the scheme name from the proxy type.

eric ide

mercurial