src/eric7/WebBrowser/Passwords/PasswordManager.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9573
9960d19d66b5
child 9653
e67609152c5e
equal deleted inserted replaced
9623:9c1f429cb56b 9624:b47dfa7a137d
18 pyqtSignal, 18 pyqtSignal,
19 ) 19 )
20 from PyQt6.QtWebEngineCore import QWebEngineScript 20 from PyQt6.QtWebEngineCore import QWebEngineScript
21 from PyQt6.QtWidgets import QApplication 21 from PyQt6.QtWidgets import QApplication
22 22
23 from eric7 import Preferences, Utilities 23 from eric7 import Globals, Preferences
24 from eric7.EricWidgets import EricMessageBox 24 from eric7.EricWidgets import EricMessageBox
25 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog 25 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog
26 from eric7.Utilities import crypto 26 from eric7.Utilities import crypto
27 from eric7.Utilities.AutoSaver import AutoSaver 27 from eric7.Utilities.AutoSaver import AutoSaver
28 from eric7.WebBrowser.Tools import Scripts 28 from eric7.WebBrowser.Tools import Scripts
142 """ 142 """
143 Public method to get the file name of the passwords file. 143 Public method to get the file name of the passwords file.
144 144
145 @return name of the passwords file (string) 145 @return name of the passwords file (string)
146 """ 146 """
147 return os.path.join(Utilities.getConfigDir(), "web_browser", "logins.xml") 147 return os.path.join(Globals.getConfigDir(), "web_browser", "logins.xml")
148 148
149 def save(self): 149 def save(self):
150 """ 150 """
151 Public slot to save the login entries to disk. 151 Public slot to save the login entries to disk.
152 """ 152 """

eric ide

mercurial