23 pyqtSignal, |
23 pyqtSignal, |
24 ) |
24 ) |
25 from PyQt6.QtGui import QUndoCommand, QUndoStack |
25 from PyQt6.QtGui import QUndoCommand, QUndoStack |
26 from PyQt6.QtWidgets import QDialog |
26 from PyQt6.QtWidgets import QDialog |
27 |
27 |
28 from eric7 import Utilities |
28 from eric7 import Globals |
29 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
29 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
30 from eric7.Utilities.AutoSaver import AutoSaver |
30 from eric7.Utilities.AutoSaver import AutoSaver |
31 |
31 |
32 from .BookmarkNode import BookmarkNode |
32 from .BookmarkNode import BookmarkNode |
33 |
33 |
90 """ |
90 """ |
91 Class method to get the file name of the bookmark file. |
91 Class method to get the file name of the bookmark file. |
92 |
92 |
93 @return name of the bookmark file (string) |
93 @return name of the bookmark file (string) |
94 """ |
94 """ |
95 return os.path.join(Utilities.getConfigDir(), "web_browser", "bookmarks.xbel") |
95 return os.path.join(Globals.getConfigDir(), "web_browser", "bookmarks.xbel") |
96 |
96 |
97 def close(self): |
97 def close(self): |
98 """ |
98 """ |
99 Public method to close the bookmark manager. |
99 Public method to close the bookmark manager. |
100 """ |
100 """ |