24 pyqtSignal, |
24 pyqtSignal, |
25 ) |
25 ) |
26 from PyQt6.QtGui import QUndoCommand, QUndoStack |
26 from PyQt6.QtGui import QUndoCommand, QUndoStack |
27 from PyQt6.QtWidgets import QDialog |
27 from PyQt6.QtWidgets import QDialog |
28 |
28 |
29 from eric7 import Globals |
29 from eric7 import EricUtilities |
30 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
30 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
31 from eric7.Utilities.AutoSaver import AutoSaver |
31 from eric7.Utilities.AutoSaver import AutoSaver |
32 |
32 |
33 from .BookmarkNode import BookmarkNode, BookmarkNodeType, BookmarkTimestampType |
33 from .BookmarkNode import BookmarkNode, BookmarkNodeType, BookmarkTimestampType |
34 |
34 |
99 Class method to get the file name of the bookmark file. |
99 Class method to get the file name of the bookmark file. |
100 |
100 |
101 @return name of the bookmark file |
101 @return name of the bookmark file |
102 @rtype str |
102 @rtype str |
103 """ |
103 """ |
104 return os.path.join(Globals.getConfigDir(), "web_browser", "bookmarks.xbel") |
104 return os.path.join( |
|
105 EricUtilities.getConfigDir(), "web_browser", "bookmarks.xbel" |
|
106 ) |
105 |
107 |
106 def close(self): |
108 def close(self): |
107 """ |
109 """ |
108 Public method to close the bookmark manager. |
110 Public method to close the bookmark manager. |
109 """ |
111 """ |