src/eric7/Preferences/ConfigurationDialog.py

branch
eric7
changeset 9971
773ad1f1ed22
parent 9963
05b441099da7
child 9972
68ac01294544
--- a/src/eric7/Preferences/ConfigurationDialog.py	Tue Apr 04 17:26:54 2023 +0200
+++ b/src/eric7/Preferences/ConfigurationDialog.py	Wed Apr 05 11:58:22 2023 +0200
@@ -91,14 +91,14 @@
     Class implementing a dialog for the configuration of eric.
 
     @signal preferencesChanged() emitted after settings have been changed
-    @signal masterPasswordChanged(str, str) emitted after the master
+    @signal mainPasswordChanged(str, str) emitted after the main
         password has been changed with the old and the new password
     @signal accepted() emitted to indicate acceptance of the changes
     @signal rejected() emitted to indicate rejection of the changes
     """
 
     preferencesChanged = pyqtSignal()
-    masterPasswordChanged = pyqtSignal(str, str)
+    mainPasswordChanged = pyqtSignal(str, str)
     accepted = pyqtSignal()
     rejected = pyqtSignal()
 
@@ -1417,12 +1417,12 @@
     Class for the dialog variant.
 
     @signal preferencesChanged() emitted after settings have been changed
-    @signal masterPasswordChanged(str, str) emitted after the master
+    @signal mainPasswordChanged(str, str) emitted after the main
         password has been changed with the old and the new password
     """
 
     preferencesChanged = pyqtSignal()
-    masterPasswordChanged = pyqtSignal(str, str)
+    mainPasswordChanged = pyqtSignal(str, str)
 
     def __init__(
         self,
@@ -1474,7 +1474,7 @@
         self.cw.accepted.connect(self.accept)
         self.cw.rejected.connect(self.reject)
         self.cw.preferencesChanged.connect(self.__preferencesChanged)
-        self.cw.masterPasswordChanged.connect(self.__masterPasswordChanged)
+        self.cw.mainPasswordChanged.connect(self.__mainPasswordChanged)
 
     def __preferencesChanged(self):
         """
@@ -1482,14 +1482,16 @@
         """
         self.preferencesChanged.emit()
 
-    def __masterPasswordChanged(self, oldPassword, newPassword):
+    def __mainPasswordChanged(self, oldPassword, newPassword):
         """
-        Private slot to handle the change of the master password.
+        Private slot to handle the change of the main password.
 
-        @param oldPassword current master password (string)
-        @param newPassword new master password (string)
+        @param oldPassword current password
+        @type str
+        @param newPassword new password
+        @type str
         """
-        self.masterPasswordChanged.emit(oldPassword, newPassword)
+        self.mainPasswordChanged.emit(oldPassword, newPassword)
 
     def showConfigurationPageByName(self, pageName):
         """

eric ide

mercurial