--- a/src/eric7/Network/IRC/IrcNetworkEditDialog.py Wed Dec 20 11:06:38 2023 +0100 +++ b/src/eric7/Network/IRC/IrcNetworkEditDialog.py Wed Dec 20 14:58:58 2023 +0100 @@ -29,9 +29,11 @@ Constructor @param manager reference to the IRC network manager object - (IrcNetworkManager) - @param networkName name of the network to work on (string) - @param parent reference to the parent widget (QWidget) + @type IrcNetworkManager + @param networkName name of the network to work on + @type str + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -84,7 +86,8 @@ """ Private slot to handle changes of the network name. - @param txt text entered into the network name edit (string) + @param txt text entered into the network name edit + @type str """ self.__updateOkButton() @@ -92,7 +95,8 @@ """ Private method to refresh the identity combo. - @param currentIdentity name of the identity to select (string) + @param currentIdentity name of the identity to select + @type str """ from .IrcNetworkManager import IrcIdentity @@ -141,7 +145,8 @@ """ Private slot to handle changes of the server name. - @param txt text entered into the server name edit (string) + @param txt text entered into the server name edit + @type str """ self.__updateOkButton() @@ -199,8 +204,10 @@ """ Private slot to handle the activation of a channel entry. - @param item reference to the activated item (QTreeWidgetItem) - @param column column the activation occurred in (integer) + @param item reference to the activated item + @type QTreeWidgetItem + @param column column the activation occurred in + @type int """ self.__editChannel(item) @@ -218,7 +225,8 @@ """ Private method to edit a channel. - @param itm reference to the item to be edited (QTreeWidgetItem) + @param itm reference to the item to be edited + @type QTreeWidgetItem """ from .IrcChannelEditDialog import IrcChannelEditDialog from .IrcNetworkManager import IrcChannel @@ -258,7 +266,8 @@ """ Public method to get the network object. - @return edited network object (IrcNetwork) + @return edited network object + @rtype IrcNetwork """ self.__network.setName(self.networkEdit.text()) return self.__network