24 QUrl, |
24 QUrl, |
25 pyqtSignal, |
25 pyqtSignal, |
26 pyqtSlot, |
26 pyqtSlot, |
27 ) |
27 ) |
28 |
28 |
29 from eric7 import Globals, Preferences, Utilities |
29 from eric7 import EricUtilities, 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 |
457 Public method to get the file name of the history file. |
457 Public method to get the file name of the history file. |
458 |
458 |
459 @return name of the history file |
459 @return name of the history file |
460 @rtype str |
460 @rtype str |
461 """ |
461 """ |
462 return os.path.join(Globals.getConfigDir(), "web_browser", "history") |
462 return os.path.join(EricUtilities.getConfigDir(), "web_browser", "history") |
463 |
463 |
464 def reload(self): |
464 def reload(self): |
465 """ |
465 """ |
466 Public method to reload the history. |
466 Public method to reload the history. |
467 """ |
467 """ |