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 Globals, Preferences |
23 from eric7 import EricUtilities, 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 |
154 Public method to get the file name of the passwords file. |
154 Public method to get the file name of the passwords file. |
155 |
155 |
156 @return name of the passwords file |
156 @return name of the passwords file |
157 @rtype str |
157 @rtype str |
158 """ |
158 """ |
159 return os.path.join(Globals.getConfigDir(), "web_browser", "logins.xml") |
159 return os.path.join(EricUtilities.getConfigDir(), "web_browser", "logins.xml") |
160 |
160 |
161 def save(self): |
161 def save(self): |
162 """ |
162 """ |
163 Public slot to save the login entries to disk. |
163 Public slot to save the login entries to disk. |
164 """ |
164 """ |