src/eric7/WebBrowser/History/HistoryManager.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9624
b47dfa7a137d
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
28 28
29 from eric7 import Preferences, Utilities 29 from eric7 import 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
34 from .HistoryModel import HistoryModel
35 from .HistoryTreeModel import HistoryTreeModel
36
33 HISTORY_VERSION_42 = 42 37 HISTORY_VERSION_42 = 42
34 HISTORY_VERSION_60 = 60 38 HISTORY_VERSION_60 = 60
35 HISTORY_VERSIONS = [HISTORY_VERSION_60, HISTORY_VERSION_42] 39 HISTORY_VERSIONS = [HISTORY_VERSION_60, HISTORY_VERSION_42]
36 40
37 41
147 151
148 self.entryAdded.connect(self.__saveTimer.changeOccurred) 152 self.entryAdded.connect(self.__saveTimer.changeOccurred)
149 self.entryRemoved.connect(self.__saveTimer.changeOccurred) 153 self.entryRemoved.connect(self.__saveTimer.changeOccurred)
150 154
151 self.__load() 155 self.__load()
152
153 from .HistoryFilterModel import HistoryFilterModel
154 from .HistoryModel import HistoryModel
155 from .HistoryTreeModel import HistoryTreeModel
156 156
157 self.__historyModel = HistoryModel(self, self) 157 self.__historyModel = HistoryModel(self, self)
158 self.__historyFilterModel = HistoryFilterModel(self.__historyModel, self) 158 self.__historyFilterModel = HistoryFilterModel(self.__historyModel, self)
159 self.__historyTreeModel = HistoryTreeModel(self.__historyFilterModel, self) 159 self.__historyTreeModel = HistoryTreeModel(self.__historyFilterModel, self)
160 160

eric ide

mercurial