eric6/Network/IRC/IrcNetworkManager.py

changeset 8207
d359172d11be
parent 7960
e8fc383322f7
child 8218
7c09585bd960
equal deleted inserted replaced
8206:adf11836cfce 8207:d359172d11be
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(
278 identity.setRealName(realName) 278 identity.setRealName(realName)
279 identity.setIdent(userName) 279 identity.setIdent(userName)
280 return identity 280 return identity
281 281
282 282
283 class IrcServer(object): 283 class IrcServer:
284 """ 284 """
285 Class implementing the IRC identity object. 285 Class implementing the IRC identity object.
286 """ 286 """
287 DefaultPort = 6667 287 DefaultPort = 6667
288 DefaultSslPort = 6697 288 DefaultSslPort = 6697
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 """
463 joined automatically (boolean) 463 joined automatically (boolean)
464 """ 464 """
465 self.__autoJoin = enable 465 self.__autoJoin = enable
466 466
467 467
468 class IrcNetwork(object): 468 class IrcNetwork:
469 """ 469 """
470 Class implementing the IRC network object. 470 Class implementing the IRC network object.
471 """ 471 """
472 def __init__(self, name): 472 def __init__(self, name):
473 """ 473 """

eric ide

mercurial