2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the history model. | 7 Module implementing the history model. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import Qt, QAbstractTableModel, QModelIndex, QUrl | 12 from PyQt4.QtCore import Qt, QAbstractTableModel, QModelIndex, QUrl |
11 | 13 |
12 import Helpviewer.HelpWindow | 14 import Helpviewer.HelpWindow |
13 | 15 |
28 Constructor | 30 Constructor |
29 | 31 |
30 @param historyManager reference to the history manager object (HistoryManager) | 32 @param historyManager reference to the history manager object (HistoryManager) |
31 @param parent reference to the parent object (QObject) | 33 @param parent reference to the parent object (QObject) |
32 """ | 34 """ |
33 super().__init__(parent) | 35 super(HistoryModel, self).__init__(parent) |
34 | 36 |
35 self.__historyManager = historyManager | 37 self.__historyManager = historyManager |
36 | 38 |
37 self.__headers = [ | 39 self.__headers = [ |
38 self.trUtf8("Title"), | 40 self.trUtf8("Title"), |