src/eric7/Preferences/ConfigurationPages/EmailPage.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10683
779cda568acb
child 11090
f5f5f5803935
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Preferences/ConfigurationPages/EmailPage.py
--- a/src/eric7/Preferences/ConfigurationPages/EmailPage.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/EmailPage.py	Tue Apr 23 11:26:04 2024 +0200
@@ -97,31 +97,31 @@
             self.portSpin.setValue(25)
 
     @pyqtSlot(bool)
-    def on_noEncryptionButton_toggled(self, checked):
+    def on_noEncryptionButton_toggled(self, _checked):
         """
         Private slot handling a change of no encryption button.
 
-        @param checked current state of the button
+        @param _checked current state of the button (unused)
         @type bool
         """
         self.__updatePortSpin()
 
     @pyqtSlot(bool)
-    def on_useSslButton_toggled(self, checked):
+    def on_useSslButton_toggled(self, _checked):
         """
         Private slot handling a change of SSL encryption button.
 
-        @param checked current state of the button
+        @param _checked current state of the button (unused)
         @type bool
         """
         self.__updatePortSpin()
 
     @pyqtSlot(bool)
-    def on_useTlsButton_toggled(self, checked):
+    def on_useTlsButton_toggled(self, _checked):
         """
         Private slot handling a change of TLS encryption button.
 
-        @param checked current state of the button
+        @param _checked current state of the button (unused)
         @type bool
         """
         self.__updatePortSpin()
@@ -138,42 +138,42 @@
         )
 
     @pyqtSlot(str)
-    def on_mailServerEdit_textChanged(self, txt):
+    def on_mailServerEdit_textChanged(self, _txt):
         """
         Private slot to handle a change of the text of the mail server edit.
 
-        @param txt current text of the edit (string)
+        @param _txt current text of the edit (unused)
         @type str
         """
         self.__updateTestButton()
 
     @pyqtSlot(bool)
-    def on_mailAuthenticationGroup_toggled(self, checked):
+    def on_mailAuthenticationGroup_toggled(self, _checked):
         """
         Private slot to handle a change of the state of the authentication
         group.
 
-        @param checked state of the group
+        @param _checked state of the group (unused)
         @type bool
         """
         self.__updateTestButton()
 
     @pyqtSlot(str)
-    def on_mailUserEdit_textChanged(self, txt):
+    def on_mailUserEdit_textChanged(self, _txt):
         """
         Private slot to handle a change of the text of the user edit.
 
-        @param txt current text of the edit
+        @param _txt current text of the edit (unused)
         @type str
         """
         self.__updateTestButton()
 
     @pyqtSlot(str)
-    def on_mailPasswordEdit_textChanged(self, txt):
+    def on_mailPasswordEdit_textChanged(self, _txt):
         """
         Private slot to handle a change of the text of the user edit.
 
-        @param txt current text of the edit
+        @param _txt current text of the edit (unused)
         @type str
         """
         self.__updateTestButton()

eric ide

mercurial