1570 Utilities.compactPath(hist, self.maxMenuFilePathLen)) |
1570 Utilities.compactPath(hist, self.maxMenuFilePathLen)) |
1571 act.setData(idx) |
1571 act.setData(idx) |
1572 idx += 1 |
1572 idx += 1 |
1573 act.setIcon(HelpWindow.__getWebIcon(QUrl(hist))) |
1573 act.setIcon(HelpWindow.__getWebIcon(QUrl(hist))) |
1574 |
1574 |
1575 def __titleChanged(self, title): |
1575 def __titleChanged(self, browser, title): |
1576 """ |
1576 """ |
1577 Private slot called to handle a change of the current browsers title. |
1577 Private slot called to handle a change of s browser's title. |
1578 |
1578 |
|
1579 @param browser reference to the browser (HelpBrowser) |
1579 @param title new title (string) |
1580 @param title new title (string) |
1580 """ |
1581 """ |
1581 self.historyManager().updateHistoryEntry( |
1582 self.historyManager().updateHistoryEntry( |
1582 self.currentBrowser().url().toString(), title) |
1583 browser.url().toString(), title) |
1583 |
1584 |
1584 def newTab(self, link=None, requestData=None): |
1585 def newTab(self, link=None, requestData=None): |
1585 """ |
1586 """ |
1586 Public slot called to open a new help window tab. |
1587 Public slot called to open a new help window tab. |
1587 |
1588 |