15 from PyQt4.QtCore import * |
15 from PyQt4.QtCore import * |
16 from PyQt4.QtGui import * |
16 from PyQt4.QtGui import * |
17 from PyQt4.Qsci import QSCINTILLA_VERSION_STR |
17 from PyQt4.Qsci import QSCINTILLA_VERSION_STR |
18 from PyQt4.QtNetwork import QNetworkProxyFactory, QNetworkAccessManager, \ |
18 from PyQt4.QtNetwork import QNetworkProxyFactory, QNetworkAccessManager, \ |
19 QNetworkRequest, QNetworkReply |
19 QNetworkRequest, QNetworkReply |
|
20 try: |
|
21 from PyQt4.QtNetwork import QSslError # __IGNORE_WARNING__ |
|
22 SSL_AVAILABLE = True |
|
23 except ImportError: |
|
24 SSL_AVAILABLE = False |
20 |
25 |
21 from E5Gui.E5Application import e5App |
26 from E5Gui.E5Application import e5App |
22 |
27 |
23 from Debugger.DebugUI import DebugUI |
28 from Debugger.DebugUI import DebugUI |
24 from Debugger.DebugServer import DebugServer |
29 from Debugger.DebugServer import DebugServer |
618 # attributes for the network objects |
623 # attributes for the network objects |
619 self.__networkManager = QNetworkAccessManager(self) |
624 self.__networkManager = QNetworkAccessManager(self) |
620 self.connect(self.__networkManager, |
625 self.connect(self.__networkManager, |
621 SIGNAL('proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)'), |
626 SIGNAL('proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)'), |
622 self.__proxyAuthenticationRequired) |
627 self.__proxyAuthenticationRequired) |
623 self.connect(self.__networkManager, |
628 if SSL_AVAILABLE: |
624 SIGNAL('sslErrors(QNetworkReply *, const QList<QSslError> &)'), |
629 self.connect(self.__networkManager, |
625 self.__sslErrors) |
630 SIGNAL('sslErrors(QNetworkReply *, const QList<QSslError> &)'), |
|
631 self.__sslErrors) |
626 self.__replies = [] |
632 self.__replies = [] |
627 |
633 |
628 # attribute for the help window |
634 # attribute for the help window |
629 self.helpWindow = None |
635 self.helpWindow = None |
630 |
636 |