diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-09-17 14:52:03 +0200 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2014-09-18 15:13:48 +0200 |
commit | 77ea8b243c7c7706ff22d277c24fbaf3580dee75 (patch) | |
tree | 061fd1e151656c9629440451ee1ca1d3027e73ab /src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc | |
parent | 3188a0d9976a02f76c0a8d6d91e77bb1d2e131c8 (diff) |
Hide QWebEngineCallback from the docs
In the same fashion as what is done in QObject::connect's
documentation, we can keep it simple here and simply document
what is expected.
Change-Id: I98a09280870cf0aab935fd0cb69401bb98134145
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc')
-rw-r--r-- | src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc index 462f76255..2d49158d6 100644 --- a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc +++ b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc @@ -241,12 +241,22 @@ */ /*! - \fn void QWebEngineView::findText(const QString &subString, QWebEnginePage::FindFlags options, const QWebEngineCallback<bool> &resultCallback) + \fn void QWebEngineView::findText(const QString &subString, QWebEnginePage::FindFlags options) Finds the specified string, \a subString, in the page, using the given \a options. To clear the selection, just pass an empty string. - The \a resultCallback will be called with a value of true if the \a subString was found; otherwise the callback value will be false. + \sa selectedText(), selectionChanged() +*/ + +/*! + \fn void QWebEngineView::findText(const QString &subString, QWebEnginePage::FindFlags options, FunctorOrLambda resultCallback) + Finds the specified string, \a subString, in the page, using the given \a options. + + To clear the selection, just pass an empty string. + + The \a resultCallback must take a boolean parameter. It will be called with a value of true if the \a subString + was found; otherwise the callback value will be false. \sa selectedText(), selectionChanged() */ |