src/eric7/WebBrowser/Bookmarks/BookmarksManager.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10485
287a3ae95e00
child 11090
f5f5f5803935
equal deleted inserted replaced
10925:22c3928a1ab5 10926:9ef616cd220d
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 """

eric ide

mercurial