![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QHelpProjectData class stores all information found in a Qt help project file. More...
#include <qhelpprojectdata_p.h>
Public Member Functions | |
| QHelpProjectData () | |
| Constructs a Qt help project data structure. | |
| ~QHelpProjectData () | |
| Destroys the help project data. | |
| bool | readData (const QString &fileName) |
| Reads the file fileName and stores the help data. | |
| QString | errorMessage () const |
| Returns an error message if the reading of the Qt help project file failed. | |
| QString | namespaceName () const |
| QString | virtualFolder () const |
| QList< QHelpDataCustomFilter > | customFilters () const |
| QList< QHelpDataFilterSection > | filterSections () const |
| QMap< QString, QVariant > | metaData () const |
| QString | rootPath () const |
The QHelpProjectData class stores all information found in a Qt help project file.
The structure is filled with data by calling readData(). The specified file has to have the Qt help project file format in order to be read successfully. Possible reading errors can be retrieved by calling errorMessage().
Definition at line 25 of file qhelpprojectdata_p.h.
| QHelpProjectData::QHelpProjectData | ( | ) |
Constructs a Qt help project data structure.
Definition at line 337 of file qhelpprojectdata.cpp.
Referenced by main().
| QHelpProjectData::~QHelpProjectData | ( | ) |
Destroys the help project data.
Definition at line 345 of file qhelpprojectdata.cpp.
| QList< QHelpDataCustomFilter > QHelpProjectData::customFilters | ( | ) | const |
Definition at line 404 of file qhelpprojectdata.cpp.
| QString QHelpProjectData::errorMessage | ( | ) | const |
Returns an error message if the reading of the Qt help project file failed.
Otherwise, an empty QString is returned.
Definition at line 378 of file qhelpprojectdata.cpp.
| QList< QHelpDataFilterSection > QHelpProjectData::filterSections | ( | ) | const |
Definition at line 412 of file qhelpprojectdata.cpp.
Definition at line 420 of file qhelpprojectdata.cpp.
| QString QHelpProjectData::namespaceName | ( | ) | const |
Definition at line 388 of file qhelpprojectdata.cpp.
| bool QHelpProjectData::readData | ( | const QString & | fileName | ) |
Reads the file fileName and stores the help data.
The file has to have the Qt help project file format. Returns true if the file was successfully read, otherwise false.
Definition at line 357 of file qhelpprojectdata.cpp.
| QString QHelpProjectData::rootPath | ( | ) | const |
Definition at line 428 of file qhelpprojectdata.cpp.
| QString QHelpProjectData::virtualFolder | ( | ) | const |
Definition at line 396 of file qhelpprojectdata.cpp.