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 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | |
12 | class QHelpContentModel; |
13 | class QHelpContentWidget; |
14 | class QHelpIndexModel; |
15 | class QHelpIndexWidget; |
16 | class QHelpEnginePrivate; |
17 | class QHelpSearchEngine; |
18 | |
19 | class QHELP_EXPORT QHelpEngine : public QHelpEngineCore |
20 | { |
21 | Q_OBJECT |
22 | |
23 | public: |
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 | |
35 | private: |
36 | QHelpEnginePrivate *d; |
37 | |
38 | friend class HelpEngineWrapper; |
39 | }; |
40 | |
41 | QT_END_NAMESPACE |
42 | |
43 | #endif |
44 |