1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QHELPENGINE_H
5#define QHELPENGINE_H
6
7#include <QtHelp/qhelpenginecore.h>
8
9QT_BEGIN_NAMESPACE
10
11
12class QHelpContentModel;
13class QHelpContentWidget;
14class QHelpIndexModel;
15class QHelpIndexWidget;
16class QHelpEnginePrivate;
17class QHelpSearchEngine;
18
19class QHELP_EXPORT QHelpEngine : public QHelpEngineCore
20{
21 Q_OBJECT
22
23public:
24 explicit QHelpEngine(const QString &collectionFile, QObject *parent = nullptr);
25 ~QHelpEngine();
26
27 QHelpContentModel *contentModel() const;
28 QHelpIndexModel *indexModel() const;
29
30 QHelpContentWidget *contentWidget();
31 QHelpIndexWidget *indexWidget();
32
33 QHelpSearchEngine *searchEngine();
34
35private:
36 QHelpEnginePrivate *d;
37
38 friend class HelpEngineWrapper;
39};
40
41QT_END_NAMESPACE
42
43#endif
44

source code of qttools/src/assistant/help/qhelpengine.h