2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2018-08-31 16:00:32 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "helpmanager.h"
|
|
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
|
|
|
|
|
|
namespace HelpManager {
|
|
|
|
|
|
|
|
|
|
class CORE_EXPORT Implementation
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
Implementation();
|
|
|
|
|
virtual ~Implementation();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
virtual void registerDocumentation(const QStringList &fileNames) = 0;
|
2019-10-04 16:01:36 +02:00
|
|
|
virtual void unregisterDocumentation(const QStringList &fileNames) = 0;
|
2019-10-16 13:28:28 +02:00
|
|
|
virtual QMultiMap<QString, QUrl> linksForIdentifier(const QString &id) = 0;
|
|
|
|
|
virtual QMultiMap<QString, QUrl> linksForKeyword(const QString &keyword) = 0;
|
2018-08-31 16:00:32 +02:00
|
|
|
virtual QByteArray fileData(const QUrl &url) = 0;
|
2019-01-24 10:42:24 +01:00
|
|
|
virtual void showHelpUrl(const QUrl &url, HelpViewerLocation location = HelpModeAlways) = 0;
|
2018-08-31 16:00:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // HelpManager
|
|
|
|
|
} // Core
|