Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhelpprojectdata_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:insignificant reason:build-tool
4
5#ifndef QHELPPROJECTDATA_H
6#define QHELPPROJECTDATA_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of the help generator tools. This header file may change from version
14// to version without notice, or even be removed.
15//
16// We mean it.
17//
18
20
22
24
26{
27public:
30
31 bool readData(const QString &fileName);
32 QString errorMessage() const;
33
34 QString namespaceName() const;
35 QString virtualFolder() const;
38 QMap<QString, QVariant> metaData() const;
39 QString rootPath() const;
40
41private:
43};
44
45QT_END_NAMESPACE
46
47#endif
static void setFullTextSearchFallbackEnabled(QHelpEngineCore &helpEngine, bool on)
static void setAddressBarVisible(QHelpEngineCore &helpEngine, bool visible)
static void setDocumentationManagerEnabled(QHelpEngineCore &helpEngine, bool enabled)
static void setAddressBarEnabled(QHelpEngineCore &helpEngine, bool enabled)
static void updateLastRegisterTime(QHelpEngineCore &helpEngine)
static void setFilterToolbarVisible(QHelpEngineCore &helpEngine, bool visible)
static void setFilterFunctionalityEnabled(QHelpEngineCore &helpEngine, bool enabled)
QString error() const
bool checkLinks(const QHelpProjectData &helpData)
bool generate(QHelpProjectData *helpData, const QString &outputFileName)
Definition main.cpp:25
The QHelpProjectData class stores all information found in a Qt help project file.
QHelpProjectData()
Constructs a Qt help project data structure.
~QHelpProjectData()
Destroys the help project data.
QString virtualFolder() const
QMap< QString, QVariant > metaData() const
QString errorMessage() const
Returns an error message if the reading of the Qt help project file failed.
QString namespaceName() const
QList< QHelpDataFilterSection > filterSections() const
bool readData(const QString &fileName)
Reads the file fileName and stores the help data.
QString rootPath() const
QList< QHelpDataCustomFilter > customFilters() const
Combined button and popup list for selecting options.
static const char QHP[]
Definition main.cpp:29
static const char QHC[]
Definition main.cpp:33
int generateCollectionFile(const QByteArray &data, const QString &basePath, const QString outputFile)
Definition main.cpp:42
static const char QCH[]
Definition main.cpp:30
static const char QHCP[]
Definition main.cpp:32
int main(int argc, char *argv[])
[ctor_close]