Documentation/Source/eric5.Helpviewer.History.HistoryManager.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.History.HistoryManager</h1> 23 <h1>eric5.Helpviewer.History.HistoryManager</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 25 Module implementing the history manager.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>HISTORY_VERSION</td></tr> 29 <tr><td>HISTORY_VERSION</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#HistoryEntry">HistoryEntry</a></td> 34 <td><a href="#HistoryEntry">HistoryEntry</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td> 35 <td>Class implementing a history entry.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#HistoryManager">HistoryManager</a></td> 37 <td><a href="#HistoryManager">HistoryManager</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114;.</td> 38 <td>Class implementing the history manager.</td>
39 </tr> 39 </tr>
40 </table> 40 </table>
41 <h3>Functions</h3> 41 <h3>Functions</h3>
42 <table> 42 <table>
43 <tr><td>None</td></tr> 43 <tr><td>None</td></tr>
44 </table> 44 </table>
45 <hr /><hr /> 45 <hr /><hr />
46 <a NAME="HistoryEntry" ID="HistoryEntry"></a> 46 <a NAME="HistoryEntry" ID="HistoryEntry"></a>
47 <h2>HistoryEntry</h2> 47 <h2>HistoryEntry</h2>
48 <p> 48 <p>
49 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 49 Class implementing a history entry.
50 </p> 50 </p>
51 <h3>Derived from</h3> 51 <h3>Derived from</h3>
52 object 52 object
53 <h3>Class Attributes</h3> 53 <h3>Class Attributes</h3>
54 <table> 54 <table>
56 </table> 56 </table>
57 <h3>Methods</h3> 57 <h3>Methods</h3>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#HistoryEntry.__init__">HistoryEntry</a></td> 60 <td><a href="#HistoryEntry.__init__">HistoryEntry</a></td>
61 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#HistoryEntry.__eq__">__eq__</a></td> 63 <td><a href="#HistoryEntry.__eq__">__eq__</a></td>
64 <td>&#83;&#112;&#101;&#99;&#105;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#105;&#110;&#103; &#101;&#113;&#117;&#97;&#108;&#105;&#116;y.</td> 64 <td>Special method determining equality.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#HistoryEntry.__lt__">__lt__</a></td> 66 <td><a href="#HistoryEntry.__lt__">__lt__</a></td>
67 <td>&#83;&#112;&#101;&#99;&#105;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#105;&#110;&#103; &#108;&#101;&#115;&#115; &#114;&#101;&#108;&#97;&#116;&#105;&#111;&#110;.</td> 67 <td>Special method determining less relation.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#HistoryEntry.userTitle">userTitle</a></td> 69 <td><a href="#HistoryEntry.userTitle">userTitle</a></td>
70 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td> 70 <td>Public method to get the title of the history entry.</td>
71 </tr> 71 </tr>
72 </table> 72 </table>
73 <a NAME="HistoryEntry.__init__" ID="HistoryEntry.__init__"></a> 73 <a NAME="HistoryEntry.__init__" ID="HistoryEntry.__init__"></a>
74 <h4>HistoryEntry (Constructor)</h4> 74 <h4>HistoryEntry (Constructor)</h4>
75 <b>HistoryEntry</b>(<i>url = None, dateTime = None, title = None</i>) 75 <b>HistoryEntry</b>(<i>url = None, dateTime = None, title = None</i>)
76 <p> 76 <p>
77 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 77 Constructor
78 </p><dl> 78 </p><dl>
79 <dt><i>url</i></dt> 79 <dt><i>url</i></dt>
80 <dd> 80 <dd>
81 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 81 URL of the history entry (string)
82 </dd><dt><i>dateTime</i></dt> 82 </dd><dt><i>dateTime</i></dt>
83 <dd> 83 <dd>
84 &#100;&#97;&#116;&#101; &#97;&#110;&#100; &#116;&#105;&#109;&#101; &#116;&#104;&#105;&#115; &#101;&#110;&#116;&#114;y w&#97;&#115; &#99;&#114;&#101;&#97;&#116;&#101;&#100; (&#81;&#68;&#97;&#116;&#101;&#84;&#105;&#109;&#101;) 84 date and time this entry was created (QDateTime)
85 </dd><dt><i>title</i></dt> 85 </dd><dt><i>title</i></dt>
86 <dd> 86 <dd>
87 &#116;&#105;&#116;&#108;&#101; &#115;&#116;&#114;&#105;&#110;&#103; &#102;&#111;&#114; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 87 title string for the history entry (string)
88 </dd> 88 </dd>
89 </dl><a NAME="HistoryEntry.__eq__" ID="HistoryEntry.__eq__"></a> 89 </dl><a NAME="HistoryEntry.__eq__" ID="HistoryEntry.__eq__"></a>
90 <h4>HistoryEntry.__eq__</h4> 90 <h4>HistoryEntry.__eq__</h4>
91 <b>__eq__</b>(<i>other</i>) 91 <b>__eq__</b>(<i>other</i>)
92 <p> 92 <p>
93 &#83;&#112;&#101;&#99;&#105;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#105;&#110;&#103; &#101;&#113;&#117;&#97;&#108;&#105;&#116;y. 93 Special method determining equality.
94 </p><dl> 94 </p><dl>
95 <dt><i>other</i></dt> 95 <dt><i>other</i></dt>
96 <dd> 96 <dd>
97 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#111;&#109;&#112;&#97;&#114;&#101; &#97;&#103;&#97;&#105;&#110;&#115;&#116; (&#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 97 reference to the history entry to compare against (HistoryEntry)
98 </dd> 98 </dd>
99 </dl><dl> 99 </dl><dl>
100 <dt>Returns:</dt> 100 <dt>Returns:</dt>
101 <dd> 101 <dd>
102 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#101;&#113;&#117;&#97;&#108;&#105;&#116;y (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 102 flag indicating equality (boolean)
103 </dd> 103 </dd>
104 </dl><a NAME="HistoryEntry.__lt__" ID="HistoryEntry.__lt__"></a> 104 </dl><a NAME="HistoryEntry.__lt__" ID="HistoryEntry.__lt__"></a>
105 <h4>HistoryEntry.__lt__</h4> 105 <h4>HistoryEntry.__lt__</h4>
106 <b>__lt__</b>(<i>other</i>) 106 <b>__lt__</b>(<i>other</i>)
107 <p> 107 <p>
108 &#83;&#112;&#101;&#99;&#105;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#105;&#110;&#103; &#108;&#101;&#115;&#115; &#114;&#101;&#108;&#97;&#116;&#105;&#111;&#110;. 108 Special method determining less relation.
109 </p><p> 109 </p><p>
110 &#78;&#111;&#116;&#101;&#58; &#72;&#105;&#115;&#116;&#111;&#114;y &#105;&#115; &#115;&#111;&#114;&#116;&#101;&#100; &#105;&#110; &#114;&#101;v&#101;&#114;&#115;&#101; &#111;&#114;&#100;&#101;&#114; &#98;y &#100;&#97;&#116;&#101; &#97;&#110;&#100; &#116;&#105;&#109;&#101; 110 Note: History is sorted in reverse order by date and time
111 </p><dl> 111 </p><dl>
112 <dt><i>other</i></dt> 112 <dt><i>other</i></dt>
113 <dd> 113 <dd>
114 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#111;&#109;&#112;&#97;&#114;&#101; &#97;&#103;&#97;&#105;&#110;&#115;&#116; (&#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 114 reference to the history entry to compare against (HistoryEntry)
115 </dd> 115 </dd>
116 </dl><dl> 116 </dl><dl>
117 <dt>Returns:</dt> 117 <dt>Returns:</dt>
118 <dd> 118 <dd>
119 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#108;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 119 flag indicating less (boolean)
120 </dd> 120 </dd>
121 </dl><a NAME="HistoryEntry.userTitle" ID="HistoryEntry.userTitle"></a> 121 </dl><a NAME="HistoryEntry.userTitle" ID="HistoryEntry.userTitle"></a>
122 <h4>HistoryEntry.userTitle</h4> 122 <h4>HistoryEntry.userTitle</h4>
123 <b>userTitle</b>(<i></i>) 123 <b>userTitle</b>(<i></i>)
124 <p> 124 <p>
125 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 125 Public method to get the title of the history entry.
126 </p><dl> 126 </p><dl>
127 <dt>Returns:</dt> 127 <dt>Returns:</dt>
128 <dd> 128 <dd>
129 &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;) 129 title of the entry (string)
130 </dd> 130 </dd>
131 </dl> 131 </dl>
132 <div align="right"><a href="#top">Up</a></div> 132 <div align="right"><a href="#top">Up</a></div>
133 <hr /><hr /> 133 <hr /><hr />
134 <a NAME="HistoryManager" ID="HistoryManager"></a> 134 <a NAME="HistoryManager" ID="HistoryManager"></a>
135 <h2>HistoryManager</h2> 135 <h2>HistoryManager</h2>
136 <p> 136 <p>
137 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 137 Class implementing the history manager.
138 </p><h4>Signals</h4> 138 </p><h4>Signals</h4>
139 <dl> 139 <dl>
140 <dt>entryAdded</dt> 140 <dt>entryAdded</dt>
141 <dd> 141 <dd>
142 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#97;&#100;&#100;&#101;&#100; 142 emitted after a history entry has been added
143 </dd><dt>entryRemoved</dt> 143 </dd><dt>entryRemoved</dt>
144 <dd> 144 <dd>
145 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#114;&#101;&#109;&#111;v&#101;&#100; 145 emitted after a history entry has been removed
146 </dd><dt>entryUpdated(int)</dt> 146 </dd><dt>entryUpdated(int)</dt>
147 <dd> 147 <dd>
148 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#100; 148 emitted after a history entry has been updated
149 </dd><dt>historyCleared()</dt> 149 </dd><dt>historyCleared()</dt>
150 <dd> 150 <dd>
151 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#99;&#108;&#101;&#97;&#114;&#101;&#100; 151 emitted after the history has been cleared
152 </dd><dt>historyReset()</dt> 152 </dd><dt>historyReset()</dt>
153 <dd> 153 <dd>
154 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#114;&#101;&#115;&#101;&#116; 154 emitted after the history has been reset
155 </dd> 155 </dd>
156 </dl> 156 </dl>
157 <h3>Derived from</h3> 157 <h3>Derived from</h3>
158 QWebHistoryInterface 158 QWebHistoryInterface
159 <h3>Class Attributes</h3> 159 <h3>Class Attributes</h3>
162 </table> 162 </table>
163 <h3>Methods</h3> 163 <h3>Methods</h3>
164 <table> 164 <table>
165 <tr> 165 <tr>
166 <td><a href="#HistoryManager.__init__">HistoryManager</a></td> 166 <td><a href="#HistoryManager.__init__">HistoryManager</a></td>
167 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 167 <td>Constructor</td>
168 </tr><tr> 168 </tr><tr>
169 <td><a href="#HistoryManager.__checkForExpired">__checkForExpired</a></td> 169 <td><a href="#HistoryManager.__checkForExpired">__checkForExpired</a></td>
170 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#111;&#114; &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 170 <td>Private slot to check entries for expiration.</td>
171 </tr><tr> 171 </tr><tr>
172 <td><a href="#HistoryManager.__load">__load</a></td> 172 <td><a href="#HistoryManager.__load">__load</a></td>
173 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#115;&#97;v&#101;&#100; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#100;&#105;&#115;&#107;.</td> 173 <td>Private method to load the saved history entries from disk.</td>
174 </tr><tr> 174 </tr><tr>
175 <td><a href="#HistoryManager.__refreshFrequencies">__refreshFrequencies</a></td> 175 <td><a href="#HistoryManager.__refreshFrequencies">__refreshFrequencies</a></td>
176 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#114;&#101;&#102;&#114;&#101;&#115;&#104; &#102;&#114;&#101;&#113;&#117;&#101;&#110;&#99;&#105;&#101;&#115;.</td> 176 <td>Private slot to recalculate the refresh frequencies.</td>
177 </tr><tr> 177 </tr><tr>
178 <td><a href="#HistoryManager.__startFrequencyTimer">__startFrequencyTimer</a></td> 178 <td><a href="#HistoryManager.__startFrequencyTimer">__startFrequencyTimer</a></td>
179 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#116;&#105;&#109;&#101;&#114; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#102;&#114;&#101;&#113;&#117;&#101;&#110;&#99;&#105;&#101;&#115;.</td> 179 <td>Private method to start the timer to recalculate the frequencies.</td>
180 </tr><tr> 180 </tr><tr>
181 <td><a href="#HistoryManager._addHistoryEntry">_addHistoryEntry</a></td> 181 <td><a href="#HistoryManager._addHistoryEntry">_addHistoryEntry</a></td>
182 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109;.</td> 182 <td>Protected method to add a history item.</td>
183 </tr><tr> 183 </tr><tr>
184 <td><a href="#HistoryManager._removeHistoryEntry">_removeHistoryEntry</a></td> 184 <td><a href="#HistoryManager._removeHistoryEntry">_removeHistoryEntry</a></td>
185 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109;.</td> 185 <td>Protected method to remove a history item.</td>
186 </tr><tr> 186 </tr><tr>
187 <td><a href="#HistoryManager.addHistoryEntry">addHistoryEntry</a></td> 187 <td><a href="#HistoryManager.addHistoryEntry">addHistoryEntry</a></td>
188 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td> 188 <td>Public method to add a history entry.</td>
189 </tr><tr> 189 </tr><tr>
190 <td><a href="#HistoryManager.clear">clear</a></td> 190 <td><a href="#HistoryManager.clear">clear</a></td>
191 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y.</td> 191 <td>Public slot to clear the complete history.</td>
192 </tr><tr> 192 </tr><tr>
193 <td><a href="#HistoryManager.close">close</a></td> 193 <td><a href="#HistoryManager.close">close</a></td>
194 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114;.</td> 194 <td>Public method to close the history manager.</td>
195 </tr><tr> 195 </tr><tr>
196 <td><a href="#HistoryManager.daysToExpire">daysToExpire</a></td> 196 <td><a href="#HistoryManager.daysToExpire">daysToExpire</a></td>
197 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 197 <td>Public method to get the days for entry expiration.</td>
198 </tr><tr> 198 </tr><tr>
199 <td><a href="#HistoryManager.history">history</a></td> 199 <td><a href="#HistoryManager.history">history</a></td>
200 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y.</td> 200 <td>Public method to return the history.</td>
201 </tr><tr> 201 </tr><tr>
202 <td><a href="#HistoryManager.historyContains">historyContains</a></td> 202 <td><a href="#HistoryManager.historyContains">historyContains</a></td>
203 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#111;&#114; &#97;&#110; &#101;&#110;&#116;&#114;y.</td> 203 <td>Public method to check the history for an entry.</td>
204 </tr><tr> 204 </tr><tr>
205 <td><a href="#HistoryManager.historyFilterModel">historyFilterModel</a></td> 205 <td><a href="#HistoryManager.historyFilterModel">historyFilterModel</a></td>
206 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#105;&#108;&#116;&#101;&#114; &#109;&#111;&#100;&#101;&#108;.</td> 206 <td>Public method to get a reference to the history filter model.</td>
207 </tr><tr> 207 </tr><tr>
208 <td><a href="#HistoryManager.historyModel">historyModel</a></td> 208 <td><a href="#HistoryManager.historyModel">historyModel</a></td>
209 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#111;&#100;&#101;&#108;.</td> 209 <td>Public method to get a reference to the history model.</td>
210 </tr><tr> 210 </tr><tr>
211 <td><a href="#HistoryManager.historyTreeModel">historyTreeModel</a></td> 211 <td><a href="#HistoryManager.historyTreeModel">historyTreeModel</a></td>
212 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.</td> 212 <td>Public method to get a reference to the history tree model.</td>
213 </tr><tr> 213 </tr><tr>
214 <td><a href="#HistoryManager.preferencesChanged">preferencesChanged</a></td> 214 <td><a href="#HistoryManager.preferencesChanged">preferencesChanged</a></td>
215 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;.</td> 215 <td>Public method to indicate a change of preferences.</td>
216 </tr><tr> 216 </tr><tr>
217 <td><a href="#HistoryManager.removeHistoryEntry">removeHistoryEntry</a></td> 217 <td><a href="#HistoryManager.removeHistoryEntry">removeHistoryEntry</a></td>
218 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td> 218 <td>Public method to remove a history entry.</td>
219 </tr><tr> 219 </tr><tr>
220 <td><a href="#HistoryManager.save">save</a></td> 220 <td><a href="#HistoryManager.save">save</a></td>
221 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#100;&#105;&#115;&#107;.</td> 221 <td>Public slot to save the history entries to disk.</td>
222 </tr><tr> 222 </tr><tr>
223 <td><a href="#HistoryManager.setDaysToExpire">setDaysToExpire</a></td> 223 <td><a href="#HistoryManager.setDaysToExpire">setDaysToExpire</a></td>
224 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;.</td> 224 <td>Public method to set the days for entry expiration.</td>
225 </tr><tr> 225 </tr><tr>
226 <td><a href="#HistoryManager.setHistory">setHistory</a></td> 226 <td><a href="#HistoryManager.setHistory">setHistory</a></td>
227 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#110;&#101;w &#104;&#105;&#115;&#116;&#111;&#114;y.</td> 227 <td>Public method to set a new history.</td>
228 </tr><tr> 228 </tr><tr>
229 <td><a href="#HistoryManager.updateHistoryEntry">updateHistoryEntry</a></td> 229 <td><a href="#HistoryManager.updateHistoryEntry">updateHistoryEntry</a></td>
230 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td> 230 <td>Public method to update a history entry.</td>
231 </tr> 231 </tr>
232 </table> 232 </table>
233 <a NAME="HistoryManager.__init__" ID="HistoryManager.__init__"></a> 233 <a NAME="HistoryManager.__init__" ID="HistoryManager.__init__"></a>
234 <h4>HistoryManager (Constructor)</h4> 234 <h4>HistoryManager (Constructor)</h4>
235 <b>HistoryManager</b>(<i>parent = None</i>) 235 <b>HistoryManager</b>(<i>parent = None</i>)
236 <p> 236 <p>
237 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 237 Constructor
238 </p><dl> 238 </p><dl>
239 <dt><i>parent</i></dt> 239 <dt><i>parent</i></dt>
240 <dd> 240 <dd>
241 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 241 reference to the parent object (QObject)
242 </dd> 242 </dd>
243 </dl><a NAME="HistoryManager.__checkForExpired" ID="HistoryManager.__checkForExpired"></a> 243 </dl><a NAME="HistoryManager.__checkForExpired" ID="HistoryManager.__checkForExpired"></a>
244 <h4>HistoryManager.__checkForExpired</h4> 244 <h4>HistoryManager.__checkForExpired</h4>
245 <b>__checkForExpired</b>(<i></i>) 245 <b>__checkForExpired</b>(<i></i>)
246 <p> 246 <p>
247 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#111;&#114; &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;. 247 Private slot to check entries for expiration.
248 </p><a NAME="HistoryManager.__load" ID="HistoryManager.__load"></a> 248 </p><a NAME="HistoryManager.__load" ID="HistoryManager.__load"></a>
249 <h4>HistoryManager.__load</h4> 249 <h4>HistoryManager.__load</h4>
250 <b>__load</b>(<i></i>) 250 <b>__load</b>(<i></i>)
251 <p> 251 <p>
252 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#115;&#97;v&#101;&#100; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#100;&#105;&#115;&#107;. 252 Private method to load the saved history entries from disk.
253 </p><a NAME="HistoryManager.__refreshFrequencies" ID="HistoryManager.__refreshFrequencies"></a> 253 </p><a NAME="HistoryManager.__refreshFrequencies" ID="HistoryManager.__refreshFrequencies"></a>
254 <h4>HistoryManager.__refreshFrequencies</h4> 254 <h4>HistoryManager.__refreshFrequencies</h4>
255 <b>__refreshFrequencies</b>(<i></i>) 255 <b>__refreshFrequencies</b>(<i></i>)
256 <p> 256 <p>
257 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#114;&#101;&#102;&#114;&#101;&#115;&#104; &#102;&#114;&#101;&#113;&#117;&#101;&#110;&#99;&#105;&#101;&#115;. 257 Private slot to recalculate the refresh frequencies.
258 </p><a NAME="HistoryManager.__startFrequencyTimer" ID="HistoryManager.__startFrequencyTimer"></a> 258 </p><a NAME="HistoryManager.__startFrequencyTimer" ID="HistoryManager.__startFrequencyTimer"></a>
259 <h4>HistoryManager.__startFrequencyTimer</h4> 259 <h4>HistoryManager.__startFrequencyTimer</h4>
260 <b>__startFrequencyTimer</b>(<i></i>) 260 <b>__startFrequencyTimer</b>(<i></i>)
261 <p> 261 <p>
262 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#116;&#105;&#109;&#101;&#114; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#102;&#114;&#101;&#113;&#117;&#101;&#110;&#99;&#105;&#101;&#115;. 262 Private method to start the timer to recalculate the frequencies.
263 </p><a NAME="HistoryManager._addHistoryEntry" ID="HistoryManager._addHistoryEntry"></a> 263 </p><a NAME="HistoryManager._addHistoryEntry" ID="HistoryManager._addHistoryEntry"></a>
264 <h4>HistoryManager._addHistoryEntry</h4> 264 <h4>HistoryManager._addHistoryEntry</h4>
265 <b>_addHistoryEntry</b>(<i>itm</i>) 265 <b>_addHistoryEntry</b>(<i>itm</i>)
266 <p> 266 <p>
267 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109;. 267 Protected method to add a history item.
268 </p><dl> 268 </p><dl>
269 <dt><i>itm</i></dt> 269 <dt><i>itm</i></dt>
270 <dd> 270 <dd>
271 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109; &#116;&#111; &#97;&#100;&#100; (&#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 271 reference to the history item to add (HistoryEntry)
272 </dd> 272 </dd>
273 </dl><a NAME="HistoryManager._removeHistoryEntry" ID="HistoryManager._removeHistoryEntry"></a> 273 </dl><a NAME="HistoryManager._removeHistoryEntry" ID="HistoryManager._removeHistoryEntry"></a>
274 <h4>HistoryManager._removeHistoryEntry</h4> 274 <h4>HistoryManager._removeHistoryEntry</h4>
275 <b>_removeHistoryEntry</b>(<i>itm</i>) 275 <b>_removeHistoryEntry</b>(<i>itm</i>)
276 <p> 276 <p>
277 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109;. 277 Protected method to remove a history item.
278 </p><dl> 278 </p><dl>
279 <dt><i>itm</i></dt> 279 <dt><i>itm</i></dt>
280 <dd> 280 <dd>
281 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#105;&#116;&#101;&#109; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 281 reference to the history item to remove (HistoryEntry)
282 </dd> 282 </dd>
283 </dl><a NAME="HistoryManager.addHistoryEntry" ID="HistoryManager.addHistoryEntry"></a> 283 </dl><a NAME="HistoryManager.addHistoryEntry" ID="HistoryManager.addHistoryEntry"></a>
284 <h4>HistoryManager.addHistoryEntry</h4> 284 <h4>HistoryManager.addHistoryEntry</h4>
285 <b>addHistoryEntry</b>(<i>url</i>) 285 <b>addHistoryEntry</b>(<i>url</i>)
286 <p> 286 <p>
287 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 287 Public method to add a history entry.
288 </p><dl> 288 </p><dl>
289 <dt><i>url</i></dt> 289 <dt><i>url</i></dt>
290 <dd> 290 <dd>
291 &#85;&#82;&#76; &#116;&#111; &#98;&#101; &#97;&#100;&#100;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 291 URL to be added (string)
292 </dd> 292 </dd>
293 </dl><a NAME="HistoryManager.clear" ID="HistoryManager.clear"></a> 293 </dl><a NAME="HistoryManager.clear" ID="HistoryManager.clear"></a>
294 <h4>HistoryManager.clear</h4> 294 <h4>HistoryManager.clear</h4>
295 <b>clear</b>(<i></i>) 295 <b>clear</b>(<i></i>)
296 <p> 296 <p>
297 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#108;&#101;&#116;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 297 Public slot to clear the complete history.
298 </p><a NAME="HistoryManager.close" ID="HistoryManager.close"></a> 298 </p><a NAME="HistoryManager.close" ID="HistoryManager.close"></a>
299 <h4>HistoryManager.close</h4> 299 <h4>HistoryManager.close</h4>
300 <b>close</b>(<i></i>) 300 <b>close</b>(<i></i>)
301 <p> 301 <p>
302 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114;. 302 Public method to close the history manager.
303 </p><a NAME="HistoryManager.daysToExpire" ID="HistoryManager.daysToExpire"></a> 303 </p><a NAME="HistoryManager.daysToExpire" ID="HistoryManager.daysToExpire"></a>
304 <h4>HistoryManager.daysToExpire</h4> 304 <h4>HistoryManager.daysToExpire</h4>
305 <b>daysToExpire</b>(<i></i>) 305 <b>daysToExpire</b>(<i></i>)
306 <p> 306 <p>
307 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;. 307 Public method to get the days for entry expiration.
308 </p><dl> 308 </p><dl>
309 <dt>Returns:</dt> 309 <dt>Returns:</dt>
310 <dd> 310 <dd>
311 &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 311 days for entry expiration (integer)
312 </dd> 312 </dd>
313 </dl><a NAME="HistoryManager.history" ID="HistoryManager.history"></a> 313 </dl><a NAME="HistoryManager.history" ID="HistoryManager.history"></a>
314 <h4>HistoryManager.history</h4> 314 <h4>HistoryManager.history</h4>
315 <b>history</b>(<i></i>) 315 <b>history</b>(<i></i>)
316 <p> 316 <p>
317 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 317 Public method to return the history.
318 </p><dl> 318 </p><dl>
319 <dt>Returns:</dt> 319 <dt>Returns:</dt>
320 <dd> 320 <dd>
321 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 321 reference to the list of history entries (list of HistoryEntry)
322 </dd> 322 </dd>
323 </dl><a NAME="HistoryManager.historyContains" ID="HistoryManager.historyContains"></a> 323 </dl><a NAME="HistoryManager.historyContains" ID="HistoryManager.historyContains"></a>
324 <h4>HistoryManager.historyContains</h4> 324 <h4>HistoryManager.historyContains</h4>
325 <b>historyContains</b>(<i>url</i>) 325 <b>historyContains</b>(<i>url</i>)
326 <p> 326 <p>
327 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#111;&#114; &#97;&#110; &#101;&#110;&#116;&#114;y. 327 Public method to check the history for an entry.
328 </p><dl> 328 </p><dl>
329 <dt><i>url</i></dt> 329 <dt><i>url</i></dt>
330 <dd> 330 <dd>
331 &#85;&#82;&#76; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 331 URL to check for (string)
332 </dd> 332 </dd>
333 </dl><dl> 333 </dl><dl>
334 <dt>Returns:</dt> 334 <dt>Returns:</dt>
335 <dd> 335 <dd>
336 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 336 flag indicating success (boolean)
337 </dd> 337 </dd>
338 </dl><a NAME="HistoryManager.historyFilterModel" ID="HistoryManager.historyFilterModel"></a> 338 </dl><a NAME="HistoryManager.historyFilterModel" ID="HistoryManager.historyFilterModel"></a>
339 <h4>HistoryManager.historyFilterModel</h4> 339 <h4>HistoryManager.historyFilterModel</h4>
340 <b>historyFilterModel</b>(<i></i>) 340 <b>historyFilterModel</b>(<i></i>)
341 <p> 341 <p>
342 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#105;&#108;&#116;&#101;&#114; &#109;&#111;&#100;&#101;&#108;. 342 Public method to get a reference to the history filter model.
343 </p><dl> 343 </p><dl>
344 <dt>Returns:</dt> 344 <dt>Returns:</dt>
345 <dd> 345 <dd>
346 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#105;&#108;&#116;&#101;&#114; &#109;&#111;&#100;&#101;&#108; (&#72;&#105;&#115;&#116;&#111;&#114;y&#70;&#105;&#108;&#116;&#101;&#114;&#77;&#111;&#100;&#101;&#108;) 346 reference to the history filter model (HistoryFilterModel)
347 </dd> 347 </dd>
348 </dl><a NAME="HistoryManager.historyModel" ID="HistoryManager.historyModel"></a> 348 </dl><a NAME="HistoryManager.historyModel" ID="HistoryManager.historyModel"></a>
349 <h4>HistoryManager.historyModel</h4> 349 <h4>HistoryManager.historyModel</h4>
350 <b>historyModel</b>(<i></i>) 350 <b>historyModel</b>(<i></i>)
351 <p> 351 <p>
352 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#111;&#100;&#101;&#108;. 352 Public method to get a reference to the history model.
353 </p><dl> 353 </p><dl>
354 <dt>Returns:</dt> 354 <dt>Returns:</dt>
355 <dd> 355 <dd>
356 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#111;&#100;&#101;&#108; (&#72;&#105;&#115;&#116;&#111;&#114;y&#77;&#111;&#100;&#101;&#108;) 356 reference to the history model (HistoryModel)
357 </dd> 357 </dd>
358 </dl><a NAME="HistoryManager.historyTreeModel" ID="HistoryManager.historyTreeModel"></a> 358 </dl><a NAME="HistoryManager.historyTreeModel" ID="HistoryManager.historyTreeModel"></a>
359 <h4>HistoryManager.historyTreeModel</h4> 359 <h4>HistoryManager.historyTreeModel</h4>
360 <b>historyTreeModel</b>(<i></i>) 360 <b>historyTreeModel</b>(<i></i>)
361 <p> 361 <p>
362 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;. 362 Public method to get a reference to the history tree model.
363 </p><dl> 363 </p><dl>
364 <dt>Returns:</dt> 364 <dt>Returns:</dt>
365 <dd> 365 <dd>
366 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108; (&#72;&#105;&#115;&#116;&#111;&#114;y&#84;&#114;&#101;&#101;&#77;&#111;&#100;&#101;&#108;) 366 reference to the history tree model (HistoryTreeModel)
367 </dd> 367 </dd>
368 </dl><a NAME="HistoryManager.preferencesChanged" ID="HistoryManager.preferencesChanged"></a> 368 </dl><a NAME="HistoryManager.preferencesChanged" ID="HistoryManager.preferencesChanged"></a>
369 <h4>HistoryManager.preferencesChanged</h4> 369 <h4>HistoryManager.preferencesChanged</h4>
370 <b>preferencesChanged</b>(<i></i>) 370 <b>preferencesChanged</b>(<i></i>)
371 <p> 371 <p>
372 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;. 372 Public method to indicate a change of preferences.
373 </p><a NAME="HistoryManager.removeHistoryEntry" ID="HistoryManager.removeHistoryEntry"></a> 373 </p><a NAME="HistoryManager.removeHistoryEntry" ID="HistoryManager.removeHistoryEntry"></a>
374 <h4>HistoryManager.removeHistoryEntry</h4> 374 <h4>HistoryManager.removeHistoryEntry</h4>
375 <b>removeHistoryEntry</b>(<i>url, title = ""</i>) 375 <b>removeHistoryEntry</b>(<i>url, title = ""</i>)
376 <p> 376 <p>
377 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 377 Public method to remove a history entry.
378 </p><dl> 378 </p><dl>
379 <dt><i>url</i></dt> 379 <dt><i>url</i></dt>
380 <dd> 380 <dd>
381 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#81;&#85;&#114;&#108;) 381 URL of the entry to remove (QUrl)
382 </dd><dt><i>title</i></dt> 382 </dd><dt><i>title</i></dt>
383 <dd> 383 <dd>
384 &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 384 title of the entry to remove (string)
385 </dd> 385 </dd>
386 </dl><a NAME="HistoryManager.save" ID="HistoryManager.save"></a> 386 </dl><a NAME="HistoryManager.save" ID="HistoryManager.save"></a>
387 <h4>HistoryManager.save</h4> 387 <h4>HistoryManager.save</h4>
388 <b>save</b>(<i></i>) 388 <b>save</b>(<i></i>)
389 <p> 389 <p>
390 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#100;&#105;&#115;&#107;. 390 Public slot to save the history entries to disk.
391 </p><a NAME="HistoryManager.setDaysToExpire" ID="HistoryManager.setDaysToExpire"></a> 391 </p><a NAME="HistoryManager.setDaysToExpire" ID="HistoryManager.setDaysToExpire"></a>
392 <h4>HistoryManager.setDaysToExpire</h4> 392 <h4>HistoryManager.setDaysToExpire</h4>
393 <b>setDaysToExpire</b>(<i>limit</i>) 393 <b>setDaysToExpire</b>(<i>limit</i>)
394 <p> 394 <p>
395 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110;. 395 Public method to set the days for entry expiration.
396 </p><dl> 396 </p><dl>
397 <dt><i>limit</i></dt> 397 <dt><i>limit</i></dt>
398 <dd> 398 <dd>
399 &#100;&#97;y&#115; &#102;&#111;&#114; &#101;&#110;&#116;&#114;y &#101;x&#112;&#105;&#114;&#97;&#116;&#105;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 399 days for entry expiration (integer)
400 </dd> 400 </dd>
401 </dl><a NAME="HistoryManager.setHistory" ID="HistoryManager.setHistory"></a> 401 </dl><a NAME="HistoryManager.setHistory" ID="HistoryManager.setHistory"></a>
402 <h4>HistoryManager.setHistory</h4> 402 <h4>HistoryManager.setHistory</h4>
403 <b>setHistory</b>(<i>history, loadedAndSorted = False</i>) 403 <b>setHistory</b>(<i>history, loadedAndSorted = False</i>)
404 <p> 404 <p>
405 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#110;&#101;w &#104;&#105;&#115;&#116;&#111;&#114;y. 405 Public method to set a new history.
406 </p><dl> 406 </p><dl>
407 <dt><i>history</i></dt> 407 <dt><i>history</i></dt>
408 <dd> 408 <dd>
409 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#98;&#101; &#115;&#101;&#116; 409 reference to the list of history entries to be set
410 (&#108;&#105;&#115;&#116; &#111;&#102; &#72;&#105;&#115;&#116;&#111;&#114;y&#69;&#110;&#116;&#114;y) 410 (list of HistoryEntry)
411 </dd><dt><i>loadedAndSorted</i></dt> 411 </dd><dt><i>loadedAndSorted</i></dt>
412 <dd> 412 <dd>
413 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#105;&#115; &#115;&#111;&#114;&#116;&#101;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 413 flag indicating that the list is sorted (boolean)
414 </dd> 414 </dd>
415 </dl><a NAME="HistoryManager.updateHistoryEntry" ID="HistoryManager.updateHistoryEntry"></a> 415 </dl><a NAME="HistoryManager.updateHistoryEntry" ID="HistoryManager.updateHistoryEntry"></a>
416 <h4>HistoryManager.updateHistoryEntry</h4> 416 <h4>HistoryManager.updateHistoryEntry</h4>
417 <b>updateHistoryEntry</b>(<i>url, title</i>) 417 <b>updateHistoryEntry</b>(<i>url, title</i>)
418 <p> 418 <p>
419 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 419 Public method to update a history entry.
420 </p><dl> 420 </p><dl>
421 <dt><i>url</i></dt> 421 <dt><i>url</i></dt>
422 <dd> 422 <dd>
423 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 423 URL of the entry to update (string)
424 </dd><dt><i>title</i></dt> 424 </dd><dt><i>title</i></dt>
425 <dd> 425 <dd>
426 &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 426 title of the entry to update (string)
427 </dd> 427 </dd>
428 </dl> 428 </dl>
429 <div align="right"><a href="#top">Up</a></div> 429 <div align="right"><a href="#top">Up</a></div>
430 <hr /> 430 <hr />
431 </body></html> 431 </body></html>

eric ide

mercurial