39 : FindNotification { proxy, near }
42 new Util::SlotClosure<Util::NoDeletePolicy>
46 if (PreviousFindText_.isEmpty ())
53 SIGNAL (loadFinished (
bool)),
60 QWebPage::FindFlags pageFlags;
61 auto check = [&pageFlags, flags] (
FindFlag ourFlag, QWebPage::FindFlag pageFlag)
64 pageFlags |= pageFlag;
72 void FindNotificationWk::ClearFindResults ()
74 PreviousFindText_ =
"";
75 WebView_->page ()->findText (
"", QWebPage::HighlightAllOccurrences);
82 if (PreviousFindText_ != text)
84 const auto nflags = flags | QWebPage::HighlightAllOccurrences;
85 WebView_->page ()->findText ({}, nflags);
86 WebView_->page ()->findText (text, nflags);
87 PreviousFindText_ = text;
90 const auto found = WebView_->page ()->findText (text, flags);