summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpenginecore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/help/qhelpenginecore.h')
-rw-r--r--src/assistant/help/qhelpenginecore.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/assistant/help/qhelpenginecore.h b/src/assistant/help/qhelpenginecore.h
index cf0cf96c9..0a5faca55 100644
--- a/src/assistant/help/qhelpenginecore.h
+++ b/src/assistant/help/qhelpenginecore.h
@@ -51,6 +51,7 @@ QT_BEGIN_NAMESPACE
class QHelpEngineCorePrivate;
class QHelpFilterEngine;
+struct QHelpLink;
class QHELP_EXPORT QHelpEngineCore : public QObject
{
@@ -102,10 +103,17 @@ public:
const QString &extensionFilter = QString());
QUrl findFile(const QUrl &url) const;
+#if QT_DEPRECATED_SINCE(5, 15)
+ QT_DEPRECATED_X("Use documentsForIdentifier() instead")
QMap<QString, QUrl> linksForIdentifier(const QString &id) const;
- QMap<QString, QUrl> linksForIdentifier(const QString &id, const QString &filterName) const;
+ QT_DEPRECATED_X("Use documentsForKeyword() instead")
QMap<QString, QUrl> linksForKeyword(const QString &keyword) const;
- QMap<QString, QUrl> linksForKeyword(const QString &keyword, const QString &filterName) const;
+#endif
+
+ QList<QHelpLink> documentsForIdentifier(const QString &id) const;
+ QList<QHelpLink> documentsForIdentifier(const QString &id, const QString &filterName) const;
+ QList<QHelpLink> documentsForKeyword(const QString &keyword) const;
+ QList<QHelpLink> documentsForKeyword(const QString &keyword, const QString &filterName) const;
bool removeCustomValue(const QString &key);
QVariant customValue(const QString &key,