summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2020-06-08 07:47:57 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-06-08 08:51:42 +0000
commitd4342ab7e827960c417f9aa60340e8a56ff5a1c9 (patch)
tree3988edccb05d23f90e1c362f1352c741edf0ae6b
parent73385a4d45d0b95e3806f78346755d1b008227b4 (diff)
Doc: make it clearer that setUsesFilterEngine is required for filtering
The new API to use is an "opt in" with regard to the deprecated API so make it more prominent in the documentation as it is easily missed. Change-Id: Ifacac03f0e05cea141c6c4a7d88eaac609e7b712 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 131d08f789237cd59d108e8ca882a797089764f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/assistant/help/qhelpenginecore.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/assistant/help/qhelpenginecore.cpp b/src/assistant/help/qhelpenginecore.cpp
index 6f1a7a840..2e640da7e 100644
--- a/src/assistant/help/qhelpenginecore.cpp
+++ b/src/assistant/help/qhelpenginecore.cpp
@@ -119,13 +119,14 @@ void QHelpEngineCorePrivate::errorReceived(const QString &msg)
The management of the filters, including adding new filters,
changing filter definitions, or removing existing filters,
is done through the QHelpFilterEngine class, which can be accessed
- by the filterEngine() method. This replaces older filter API that is
- deprecated since Qt 5.13. Please call setUsesFilterEngine() with
- \c true to enable the new functionality.
+ by the filterEngine() method.
+ \note QHelpFilterEngine replaces the older filter API that is
+ deprecated since Qt 5.13. Call setUsesFilterEngine() with \c true to
+ enable the new functionality.
The help engine also offers the possibility to set and read values
- in a persistant way comparable to ini files or Windows registry
+ in a persistent way comparable to ini files or Windows registry
entries. For more information see setValue() or value().
This class does not offer any GUI components or functionality for