From d4342ab7e827960c417f9aa60340e8a56ff5a1c9 Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Mon, 8 Jun 2020 07:47:57 +0200 Subject: 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 (cherry picked from commit 131d08f789237cd59d108e8ca882a797089764f9) Reviewed-by: Qt Cherry-pick Bot --- src/assistant/help/qhelpenginecore.cpp | 9 +++++---- 1 file 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 -- cgit v1.2.3