src/eric7/Documentation/Source/eric7.WebBrowser.History.HistoryManager.html

branch
eric7
changeset 10436
f6881d10e995
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
92 <p> 92 <p>
93 Constructor 93 Constructor
94 </p> 94 </p>
95 <dl> 95 <dl>
96 96
97 <dt><i>url</i></dt> 97 <dt><i>url</i> (str)</dt>
98 <dd> 98 <dd>
99 URL of the history entry (string) 99 URL of the history entry
100 </dd> 100 </dd>
101 <dt><i>dateTime</i></dt> 101 <dt><i>dateTime</i> (QDateTime)</dt>
102 <dd> 102 <dd>
103 date and time this entry was created (QDateTime) 103 date and time this entry was created
104 </dd> 104 </dd>
105 <dt><i>title</i></dt> 105 <dt><i>title</i> (str)</dt>
106 <dd> 106 <dd>
107 title string for the history entry (string) 107 title string for the history entry
108 </dd> 108 </dd>
109 <dt><i>visitCount</i></dt> 109 <dt><i>visitCount</i> (int)</dt>
110 <dd> 110 <dd>
111 number of visits of this URL (int) 111 number of visits of this URL
112 </dd> 112 </dd>
113 </dl> 113 </dl>
114 <a NAME="HistoryEntry.__eq__" ID="HistoryEntry.__eq__"></a> 114 <a NAME="HistoryEntry.__eq__" ID="HistoryEntry.__eq__"></a>
115 <h4>HistoryEntry.__eq__</h4> 115 <h4>HistoryEntry.__eq__</h4>
116 <b>__eq__</b>(<i>other</i>) 116 <b>__eq__</b>(<i>other</i>)
118 <p> 118 <p>
119 Special method determining equality. 119 Special method determining equality.
120 </p> 120 </p>
121 <dl> 121 <dl>
122 122
123 <dt><i>other</i></dt> 123 <dt><i>other</i> (HistoryEntry)</dt>
124 <dd> 124 <dd>
125 reference to the history entry to compare against 125 reference to the history entry to compare against
126 (HistoryEntry) 126 </dd>
127 </dd> 127 </dl>
128 </dl> 128 <dl>
129 <dl> 129 <dt>Return:</dt>
130 <dt>Return:</dt> 130 <dd>
131 <dd> 131 flag indicating equality
132 flag indicating equality (boolean) 132 </dd>
133 </dl>
134 <dl>
135 <dt>Return Type:</dt>
136 <dd>
137 bool
133 </dd> 138 </dd>
134 </dl> 139 </dl>
135 <a NAME="HistoryEntry.__lt__" ID="HistoryEntry.__lt__"></a> 140 <a NAME="HistoryEntry.__lt__" ID="HistoryEntry.__lt__"></a>
136 <h4>HistoryEntry.__lt__</h4> 141 <h4>HistoryEntry.__lt__</h4>
137 <b>__lt__</b>(<i>other</i>) 142 <b>__lt__</b>(<i>other</i>)
142 <p> 147 <p>
143 Note: History is sorted in reverse order by date and time 148 Note: History is sorted in reverse order by date and time
144 </p> 149 </p>
145 <dl> 150 <dl>
146 151
147 <dt><i>other</i></dt> 152 <dt><i>other</i> (HistoryEntry)</dt>
148 <dd> 153 <dd>
149 reference to the history entry to compare against 154 reference to the history entry to compare against
150 (HistoryEntry) 155 </dd>
151 </dd> 156 </dl>
152 </dl> 157 <dl>
153 <dl> 158 <dt>Return:</dt>
154 <dt>Return:</dt> 159 <dd>
155 <dd> 160 flag indicating less
156 flag indicating less (boolean) 161 </dd>
162 </dl>
163 <dl>
164 <dt>Return Type:</dt>
165 <dd>
166 bool
157 </dd> 167 </dd>
158 </dl> 168 </dl>
159 <a NAME="HistoryEntry.isValid" ID="HistoryEntry.isValid"></a> 169 <a NAME="HistoryEntry.isValid" ID="HistoryEntry.isValid"></a>
160 <h4>HistoryEntry.isValid</h4> 170 <h4>HistoryEntry.isValid</h4>
161 <b>isValid</b>(<i></i>) 171 <b>isValid</b>(<i></i>)
183 Public method to get the title of the history entry. 193 Public method to get the title of the history entry.
184 </p> 194 </p>
185 <dl> 195 <dl>
186 <dt>Return:</dt> 196 <dt>Return:</dt>
187 <dd> 197 <dd>
188 title of the entry (string) 198 title of the entry
199 </dd>
200 </dl>
201 <dl>
202 <dt>Return Type:</dt>
203 <dd>
204 str
189 </dd> 205 </dd>
190 </dl> 206 </dl>
191 <div align="right"><a href="#top">Up</a></div> 207 <div align="right"><a href="#top">Up</a></div>
192 <hr /> 208 <hr />
193 <hr /> 209 <hr />
361 <p> 377 <p>
362 Constructor 378 Constructor
363 </p> 379 </p>
364 <dl> 380 <dl>
365 381
366 <dt><i>parent</i></dt> 382 <dt><i>parent</i> (QObject)</dt>
367 <dd> 383 <dd>
368 reference to the parent object (QObject) 384 reference to the parent object
369 </dd> 385 </dd>
370 </dl> 386 </dl>
371 <a NAME="HistoryManager.__checkForExpired" ID="HistoryManager.__checkForExpired"></a> 387 <a NAME="HistoryManager.__checkForExpired" ID="HistoryManager.__checkForExpired"></a>
372 <h4>HistoryManager.__checkForExpired</h4> 388 <h4>HistoryManager.__checkForExpired</h4>
373 <b>__checkForExpired</b>(<i></i>) 389 <b>__checkForExpired</b>(<i></i>)
514 <p> 530 <p>
515 Public slot to clear the complete history. 531 Public slot to clear the complete history.
516 </p> 532 </p>
517 <dl> 533 <dl>
518 534
519 <dt><i>period</i></dt> 535 <dt><i>period</i> (int)</dt>
520 <dd> 536 <dd>
521 history period in milliseconds to be cleared (integer) 537 history period in milliseconds to be cleared
522 </dd> 538 </dd>
523 </dl> 539 </dl>
524 <a NAME="HistoryManager.close" ID="HistoryManager.close"></a> 540 <a NAME="HistoryManager.close" ID="HistoryManager.close"></a>
525 <h4>HistoryManager.close</h4> 541 <h4>HistoryManager.close</h4>
526 <b>close</b>(<i></i>) 542 <b>close</b>(<i></i>)
536 Public method to get the days for entry expiration. 552 Public method to get the days for entry expiration.
537 </p> 553 </p>
538 <dl> 554 <dl>
539 <dt>Return:</dt> 555 <dt>Return:</dt>
540 <dd> 556 <dd>
541 days for entry expiration (integer) 557 days for entry expiration
558 </dd>
559 </dl>
560 <dl>
561 <dt>Return Type:</dt>
562 <dd>
563 int
542 </dd> 564 </dd>
543 </dl> 565 </dl>
544 <a NAME="HistoryManager.getFileName" ID="HistoryManager.getFileName"></a> 566 <a NAME="HistoryManager.getFileName" ID="HistoryManager.getFileName"></a>
545 <h4>HistoryManager.getFileName</h4> 567 <h4>HistoryManager.getFileName</h4>
546 <b>getFileName</b>(<i></i>) 568 <b>getFileName</b>(<i></i>)
549 Public method to get the file name of the history file. 571 Public method to get the file name of the history file.
550 </p> 572 </p>
551 <dl> 573 <dl>
552 <dt>Return:</dt> 574 <dt>Return:</dt>
553 <dd> 575 <dd>
554 name of the history file (string) 576 name of the history file
577 </dd>
578 </dl>
579 <dl>
580 <dt>Return Type:</dt>
581 <dd>
582 str
555 </dd> 583 </dd>
556 </dl> 584 </dl>
557 <a NAME="HistoryManager.history" ID="HistoryManager.history"></a> 585 <a NAME="HistoryManager.history" ID="HistoryManager.history"></a>
558 <h4>HistoryManager.history</h4> 586 <h4>HistoryManager.history</h4>
559 <b>history</b>(<i></i>) 587 <b>history</b>(<i></i>)
562 Public method to return the history. 590 Public method to return the history.
563 </p> 591 </p>
564 <dl> 592 <dl>
565 <dt>Return:</dt> 593 <dt>Return:</dt>
566 <dd> 594 <dd>
567 reference to the list of history entries (list of HistoryEntry) 595 reference to the list of history entries
596 </dd>
597 </dl>
598 <dl>
599 <dt>Return Type:</dt>
600 <dd>
601 list of HistoryEntry
568 </dd> 602 </dd>
569 </dl> 603 </dl>
570 <a NAME="HistoryManager.historyFilterModel" ID="HistoryManager.historyFilterModel"></a> 604 <a NAME="HistoryManager.historyFilterModel" ID="HistoryManager.historyFilterModel"></a>
571 <h4>HistoryManager.historyFilterModel</h4> 605 <h4>HistoryManager.historyFilterModel</h4>
572 <b>historyFilterModel</b>(<i></i>) 606 <b>historyFilterModel</b>(<i></i>)
575 Public method to get a reference to the history filter model. 609 Public method to get a reference to the history filter model.
576 </p> 610 </p>
577 <dl> 611 <dl>
578 <dt>Return:</dt> 612 <dt>Return:</dt>
579 <dd> 613 <dd>
580 reference to the history filter model (HistoryFilterModel) 614 reference to the history filter model
615 </dd>
616 </dl>
617 <dl>
618 <dt>Return Type:</dt>
619 <dd>
620 HistoryFilterModel
581 </dd> 621 </dd>
582 </dl> 622 </dl>
583 <a NAME="HistoryManager.historyModel" ID="HistoryManager.historyModel"></a> 623 <a NAME="HistoryManager.historyModel" ID="HistoryManager.historyModel"></a>
584 <h4>HistoryManager.historyModel</h4> 624 <h4>HistoryManager.historyModel</h4>
585 <b>historyModel</b>(<i></i>) 625 <b>historyModel</b>(<i></i>)
588 Public method to get a reference to the history model. 628 Public method to get a reference to the history model.
589 </p> 629 </p>
590 <dl> 630 <dl>
591 <dt>Return:</dt> 631 <dt>Return:</dt>
592 <dd> 632 <dd>
593 reference to the history model (HistoryModel) 633 reference to the history model
634 </dd>
635 </dl>
636 <dl>
637 <dt>Return Type:</dt>
638 <dd>
639 HistoryModel
594 </dd> 640 </dd>
595 </dl> 641 </dl>
596 <a NAME="HistoryManager.historyTreeModel" ID="HistoryManager.historyTreeModel"></a> 642 <a NAME="HistoryManager.historyTreeModel" ID="HistoryManager.historyTreeModel"></a>
597 <h4>HistoryManager.historyTreeModel</h4> 643 <h4>HistoryManager.historyTreeModel</h4>
598 <b>historyTreeModel</b>(<i></i>) 644 <b>historyTreeModel</b>(<i></i>)
601 Public method to get a reference to the history tree model. 647 Public method to get a reference to the history tree model.
602 </p> 648 </p>
603 <dl> 649 <dl>
604 <dt>Return:</dt> 650 <dt>Return:</dt>
605 <dd> 651 <dd>
606 reference to the history tree model (HistoryTreeModel) 652 reference to the history tree model
653 </dd>
654 </dl>
655 <dl>
656 <dt>Return Type:</dt>
657 <dd>
658 HistoryTreeModel
607 </dd> 659 </dd>
608 </dl> 660 </dl>
609 <a NAME="HistoryManager.preferencesChanged" ID="HistoryManager.preferencesChanged"></a> 661 <a NAME="HistoryManager.preferencesChanged" ID="HistoryManager.preferencesChanged"></a>
610 <h4>HistoryManager.preferencesChanged</h4> 662 <h4>HistoryManager.preferencesChanged</h4>
611 <b>preferencesChanged</b>(<i></i>) 663 <b>preferencesChanged</b>(<i></i>)
627 <p> 679 <p>
628 Public method to remove a history entry. 680 Public method to remove a history entry.
629 </p> 681 </p>
630 <dl> 682 <dl>
631 683
632 <dt><i>url</i></dt> 684 <dt><i>url</i> (QUrl)</dt>
633 <dd> 685 <dd>
634 URL of the entry to remove (QUrl) 686 URL of the entry to remove
635 </dd> 687 </dd>
636 <dt><i>title</i></dt> 688 <dt><i>title</i> (str)</dt>
637 <dd> 689 <dd>
638 title of the entry to remove (string) 690 title of the entry to remove
639 </dd> 691 </dd>
640 </dl> 692 </dl>
641 <a NAME="HistoryManager.save" ID="HistoryManager.save"></a> 693 <a NAME="HistoryManager.save" ID="HistoryManager.save"></a>
642 <h4>HistoryManager.save</h4> 694 <h4>HistoryManager.save</h4>
643 <b>save</b>(<i></i>) 695 <b>save</b>(<i></i>)
652 <p> 704 <p>
653 Public method to set the days for entry expiration. 705 Public method to set the days for entry expiration.
654 </p> 706 </p>
655 <dl> 707 <dl>
656 708
657 <dt><i>limit</i></dt> 709 <dt><i>limit</i> (int)</dt>
658 <dd> 710 <dd>
659 days for entry expiration (integer) 711 days for entry expiration
660 </dd> 712 </dd>
661 </dl> 713 </dl>
662 <a NAME="HistoryManager.setHistory" ID="HistoryManager.setHistory"></a> 714 <a NAME="HistoryManager.setHistory" ID="HistoryManager.setHistory"></a>
663 <h4>HistoryManager.setHistory</h4> 715 <h4>HistoryManager.setHistory</h4>
664 <b>setHistory</b>(<i>history, loadedAndSorted=False</i>) 716 <b>setHistory</b>(<i>history, loadedAndSorted=False</i>)
666 <p> 718 <p>
667 Public method to set a new history. 719 Public method to set a new history.
668 </p> 720 </p>
669 <dl> 721 <dl>
670 722
671 <dt><i>history</i></dt> 723 <dt><i>history</i> (list of HistoryEntry)</dt>
672 <dd> 724 <dd>
673 reference to the list of history entries to be set 725 reference to the list of history entries to be set
674 (list of HistoryEntry) 726 </dd>
675 </dd> 727 <dt><i>loadedAndSorted</i> (bool)</dt>
676 <dt><i>loadedAndSorted</i></dt>
677 <dd> 728 <dd>
678 flag indicating that the list is sorted 729 flag indicating that the list is sorted
679 (boolean)
680 </dd> 730 </dd>
681 </dl> 731 </dl>
682 <a NAME="HistoryManager.siteVisitsCount" ID="HistoryManager.siteVisitsCount"></a> 732 <a NAME="HistoryManager.siteVisitsCount" ID="HistoryManager.siteVisitsCount"></a>
683 <h4>HistoryManager.siteVisitsCount</h4> 733 <h4>HistoryManager.siteVisitsCount</h4>
684 <b>siteVisitsCount</b>(<i>scheme, host</i>) 734 <b>siteVisitsCount</b>(<i>scheme, host</i>)
717 <p> 767 <p>
718 Public method to update a history entry. 768 Public method to update a history entry.
719 </p> 769 </p>
720 <dl> 770 <dl>
721 771
722 <dt><i>url</i></dt> 772 <dt><i>url</i> (str)</dt>
723 <dd> 773 <dd>
724 URL of the entry to update (string) 774 URL of the entry to update
725 </dd> 775 </dd>
726 <dt><i>title</i></dt> 776 <dt><i>title</i> (str)</dt>
727 <dd> 777 <dd>
728 title of the entry to update (string) 778 title of the entry to update
729 </dd> 779 </dd>
730 </dl> 780 </dl>
731 <div align="right"><a href="#top">Up</a></div> 781 <div align="right"><a href="#top">Up</a></div>
732 <hr /> 782 <hr />
733 </body></html> 783 </body></html>

eric ide

mercurial