diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-07 16:18:16 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-08 09:33:57 +0100 |
commit | ffd71016216ee6776b60cf1d73db971eff33bc02 (patch) | |
tree | 9f7edc1481d2275cc27536478d76e1395fc1568d /src/assistant/help/qhelpcontentwidget.h | |
parent | eeeee8835cbb7c95eeaf3aede571ce538f635ef1 (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/qhelpcontentwidget.h')
-rw-r--r-- | src/assistant/help/qhelpcontentwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpcontentwidget.h b/src/assistant/help/qhelpcontentwidget.h index 8f510130c..f459cb465 100644 --- a/src/assistant/help/qhelpcontentwidget.h +++ b/src/assistant/help/qhelpcontentwidget.h @@ -44,6 +44,7 @@ class QHELP_EXPORT QHelpContentModel : public QAbstractItemModel public: ~QHelpContentModel() override; + void createContentsForCurrentFilter(); void createContents(const QString &customFilterName); QHelpContentItem *contentItemAt(const QModelIndex &index) const; |