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 HELPGENERATOR_H
5#define HELPGENERATOR_H
6
7#include <QtCore/QObject>
8
9QT_BEGIN_NAMESPACE
10
11class QHelpProjectData;
12class HelpGeneratorPrivate;
13
14class HelpGenerator : public QObject
15{
16 Q_OBJECT
17
18public:
19 HelpGenerator(bool silent = false);
20 bool generate(QHelpProjectData *helpData,
21 const QString &outputFileName);
22 bool checkLinks(const QHelpProjectData &helpData);
23 QString error() const;
24
25private slots:
26 void printStatus(const QString &msg);
27 void printWarning(const QString &msg);
28
29private:
30 HelpGeneratorPrivate *m_private;
31};
32
33QT_END_NAMESPACE
34
35#endif
36

source code of qttools/src/assistant/qhelpgenerator/helpgenerator.h