|
|
@ -388,15 +388,13 @@ class Browser: public QMainWindow, protected Ui::Browser { |
|
|
|
void find(const QString& txt=QString()) { |
|
|
|
void find(const QString& txt=QString()) { |
|
|
|
qobject_cast<QWebView*>(_tabs->currentWidget())->findText |
|
|
|
qobject_cast<QWebView*>(_tabs->currentWidget())->findText |
|
|
|
(_find->text(), |
|
|
|
(_find->text(), |
|
|
|
QWebPage::HighlightAllOccurrences |
|
|
|
QWebPage::FindWrapsAroundDocument); |
|
|
|
|QWebPage::FindWrapsAroundDocument); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void rfind(const QString& txt=QString()) { |
|
|
|
void rfind(const QString& txt=QString()) { |
|
|
|
qobject_cast<QWebView*>(_tabs->currentWidget())->findText |
|
|
|
qobject_cast<QWebView*>(_tabs->currentWidget())->findText |
|
|
|
(_find->text(), |
|
|
|
(_find->text(), |
|
|
|
QWebPage::HighlightAllOccurrences |
|
|
|
QWebPage::FindWrapsAroundDocument |
|
|
|
|QWebPage::FindWrapsAroundDocument |
|
|
|
|
|
|
|
|QWebPage::FindBackward); |
|
|
|
|QWebPage::FindBackward); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|