24 QUrl, |
24 QUrl, |
25 pyqtSignal, |
25 pyqtSignal, |
26 pyqtSlot, |
26 pyqtSlot, |
27 ) |
27 ) |
28 |
28 |
29 from eric7 import Preferences, Utilities |
29 from eric7 import Globals, Preferences, Utilities |
30 from eric7.EricWidgets import EricMessageBox |
30 from eric7.EricWidgets import EricMessageBox |
31 from eric7.Utilities.AutoSaver import AutoSaver |
31 from eric7.Utilities.AutoSaver import AutoSaver |
32 |
32 |
33 from .HistoryFilterModel import HistoryFilterModel |
33 from .HistoryFilterModel import HistoryFilterModel |
34 from .HistoryModel import HistoryModel |
34 from .HistoryModel import HistoryModel |
437 """ |
437 """ |
438 Public method to get the file name of the history file. |
438 Public method to get the file name of the history file. |
439 |
439 |
440 @return name of the history file (string) |
440 @return name of the history file (string) |
441 """ |
441 """ |
442 return os.path.join(Utilities.getConfigDir(), "web_browser", "history") |
442 return os.path.join(Globals.getConfigDir(), "web_browser", "history") |
443 |
443 |
444 def reload(self): |
444 def reload(self): |
445 """ |
445 """ |
446 Public method to reload the history. |
446 Public method to reload the history. |
447 """ |
447 """ |