src/eric7/Network/IRC/IrcChannelEditDialog.py

branch
eric7
changeset 10428
a071d4065202
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 3733e2b23cf7 -r a071d4065202 src/eric7/Network/IRC/IrcChannelEditDialog.py
--- a/src/eric7/Network/IRC/IrcChannelEditDialog.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/Network/IRC/IrcChannelEditDialog.py	Wed Dec 20 14:58:58 2023 +0100
@@ -22,13 +22,18 @@
         """
         Constructor
 
-        @param name channel name (string)
-        @param key channel key (string)
+        @param name channel name
+        @type str
+        @param key channel key
+        @type str
         @param autoJoin flag indicating, that the channel should
-            be joined automatically (boolean)
+            be joined automatically
+        @type bool
         @param edit flag indicating an edit of an existing
-            channel (boolean)
-        @param parent reference to the parent widget (QWidget)
+            channel
+        @type bool
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -49,7 +54,8 @@
         """
         Private slot to handle changes of the given name.
 
-        @param txt text of the edit (string)
+        @param txt text of the edit
+        @type str
         """
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(txt != "")
 
@@ -59,7 +65,7 @@
 
         @return tuple giving the channel name, channel key and a flag
             indicating, that the channel should be joined automatically
-            (string, string, boolean)
+        @rtype tuple of (str, str, bool)
         """
         return (
             self.nameEdit.text(),

eric ide

mercurial