src/eric7/Preferences/ConfigurationPages/MainPasswordEntryDialog.py

branch
eric7
changeset 10428
a071d4065202
parent 9971
773ad1f1ed22
child 10439
21c28b0f9e41
--- a/src/eric7/Preferences/ConfigurationPages/MainPasswordEntryDialog.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/Preferences/ConfigurationPages/MainPasswordEntryDialog.py	Wed Dec 20 14:58:58 2023 +0100
@@ -24,8 +24,10 @@
         """
         Constructor
 
-        @param oldPasswordHash hash of the current password (string)
-        @param parent reference to the parent widget (QWidget)
+        @param oldPasswordHash hash of the current password
+        @type str
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -79,7 +81,8 @@
         """
         Private slot to handle changes of the current password.
 
-        @param txt content of the edit widget (string)
+        @param txt content of the edit widget
+        @type str
         """
         self.__updateUI()
 
@@ -88,7 +91,8 @@
         """
         Private slot to handle changes of the new password.
 
-        @param txt content of the edit widget (string)
+        @param txt content of the edit widget
+        @type str
         """
         self.passwordMeter.checkPasswordStrength(txt)
         self.__updateUI()
@@ -98,7 +102,8 @@
         """
         Private slot to handle changes of the new again password.
 
-        @param txt content of the edit widget (string)
+        @param txt content of the edit widget
+        @type str
         """
         self.__updateUI()
 
@@ -106,7 +111,8 @@
         """
         Public method to get the new main password.
 
-        @return new main password (string)
+        @return new main password
+        @rtype str
         """
         return self.newPasswordEdit.text()
 
@@ -114,6 +120,7 @@
         """
         Public method to get the current main password.
 
-        @return current main password (string)
+        @return current main password
+        @rtype str
         """
         return self.currentPasswordEdit.text()

eric ide

mercurial