doc: add Bernd to the credits
[git-cola.git] / qtpy / QtNetwork.py
blob49faded79634648efde7982e4fdefd62e313cef2
1 # -*- coding: utf-8 -*-
3 # Copyright © 2014-2015 Colin Duquesnoy
4 # Copyright © 2009- The Spyder Development Team
6 # Licensed under the terms of the MIT License
7 # (see LICENSE.txt for details)
9 """
10 Provides QtNetwork classes and functions.
11 """
13 from . import PYQT5, PYSIDE2, PYQT4, PYSIDE, PythonQtError
16 if PYQT5:
17 from PyQt5.QtNetwork import *
18 elif PYSIDE2:
19 from PySide2.QtNetwork import *
20 elif PYQT4:
21 from PyQt4.QtNetwork import *
22 elif PYSIDE:
23 from PySide.QtNetwork import *
24 else:
25 raise PythonQtError('No Qt bindings could be found')