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 """ |