summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpenginecore.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2024-02-07 16:18:16 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2024-02-08 09:33:57 +0100
commitffd71016216ee6776b60cf1d73db971eff33bc02 (patch)
tree9f7edc1481d2275cc27536478d76e1395fc1568d /src/assistant/help/qhelpenginecore.cpp
parenteeeee8835cbb7c95eeaf3aede571ce538f635ef1 (diff)
QtHelp: Add QHelpEngineCore::legacyCurrentFilterName()
To avoid dependencies between QHelpEngineCore and QHelpEngine. In theory we could have removed QHelpIndexModel::createIndex(const QString &customFilterName) and QHelpContentModel::createContents(const QString &customFilterName), but they are part of the public API, so let's keep them untouched. Task-number: QTBUG-122025 Change-Id: I5641a021ae0a842cd204a653e9c196899dc69b54 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/assistant/help/qhelpenginecore.cpp')
-rw-r--r--src/assistant/help/qhelpenginecore.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpenginecore.cpp b/src/assistant/help/qhelpenginecore.cpp
index 4eef66602..0f5d57c55 100644
--- a/src/assistant/help/qhelpenginecore.cpp
+++ b/src/assistant/help/qhelpenginecore.cpp
@@ -779,4 +779,9 @@ bool QHelpEngineCore::usesFilterEngine() const
return d->usesFilterEngine;
}
+QString QHelpEngineCore::legacyCurrentFilterName() const
+{
+ return d->currentFilter;
+}
+
QT_END_NAMESPACE