Network/IRC/IrcWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2469
20d2166280bb
child 2531
a5034da7e61a
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the IRC window. 7 Module implementing the IRC window.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 import re 16 import re
11 import logging 17 import logging
12 18
13 from PyQt4.QtCore import pyqtSlot, pyqtSignal, Qt, QByteArray, QTimer 19 from PyQt4.QtCore import pyqtSlot, pyqtSignal, Qt, QByteArray, QTimer
48 """ 54 """
49 Constructor 55 Constructor
50 56
51 @param parent reference to the parent widget (QWidget) 57 @param parent reference to the parent widget (QWidget)
52 """ 58 """
53 super().__init__(parent) 59 super(IrcWidget, self).__init__(parent)
54 self.setupUi(self) 60 self.setupUi(self)
55 61
56 from .IrcNetworkManager import IrcNetworkManager 62 from .IrcNetworkManager import IrcNetworkManager
57 self.__ircNetworkManager = IrcNetworkManager(self) 63 self.__ircNetworkManager = IrcNetworkManager(self)
58 64

eric ide

mercurial