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 24 of file qhelpprojectdata_p.h.
QHelpProjectData::QHelpProjectData | ( | ) |
Constructs a Qt help project data structure.
Definition at line 336 of file qhelpprojectdata.cpp.
Referenced by main().
QHelpProjectData::~QHelpProjectData | ( | ) |
Destroys the help project data.
Definition at line 344 of file qhelpprojectdata.cpp.
QList< QHelpDataCustomFilter > QHelpProjectData::customFilters | ( | ) | const |
Definition at line 403 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 377 of file qhelpprojectdata.cpp.
QList< QHelpDataFilterSection > QHelpProjectData::filterSections | ( | ) | const |
Definition at line 411 of file qhelpprojectdata.cpp.
Definition at line 419 of file qhelpprojectdata.cpp.
QString QHelpProjectData::namespaceName | ( | ) | const |
Definition at line 387 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 356 of file qhelpprojectdata.cpp.
QString QHelpProjectData::rootPath | ( | ) | const |
Definition at line 427 of file qhelpprojectdata.cpp.
QString QHelpProjectData::virtualFolder | ( | ) | const |
Definition at line 395 of file qhelpprojectdata.cpp.