15 from Utilities.AutoSaver import AutoSaver |
15 from Utilities.AutoSaver import AutoSaver |
16 from Utilities.crypto import pwConvert |
16 from Utilities.crypto import pwConvert |
17 import Preferences |
17 import Preferences |
18 |
18 |
19 |
19 |
20 class IrcIdentity(object): |
20 class IrcIdentity: |
21 """ |
21 """ |
22 Class implementing the IRC identity object. |
22 Class implementing the IRC identity object. |
23 """ |
23 """ |
24 DefaultIdentityName = "0default" |
24 DefaultIdentityName = "0default" |
25 DefaultIdentityDisplay = QCoreApplication.translate( |
25 DefaultIdentityDisplay = QCoreApplication.translate( |
385 @return password (string) |
385 @return password (string) |
386 """ |
386 """ |
387 return pwConvert(self.__password, encode=False) |
387 return pwConvert(self.__password, encode=False) |
388 |
388 |
389 |
389 |
390 class IrcChannel(object): |
390 class IrcChannel: |
391 """ |
391 """ |
392 Class implementing the IRC channel object. |
392 Class implementing the IRC channel object. |
393 """ |
393 """ |
394 def __init__(self, name): |
394 def __init__(self, name): |
395 """ |
395 """ |