18 #ifndef QGSPROJECTSERVERVALIDATOR_H
19 #define QGSPROJECTSERVERVALIDATOR_H
21 #include "qgis_core.h"
52 ProjectRootNameConflict = 4,
73 , identifier( identifier )
95 static bool validate(
QgsProject *project, QList< QgsProjectServerValidator::ValidationResult > &results
SIP_OUT );
98 static void browseLayerTree(
QgsLayerTreeGroup *treeGroup, QStringList &owsNames, QStringList &encodingMessages );
Layer tree group node serves as a container for layers and further groups.
Validates the server specific parts of the configuration of a QGIS project.
QgsProjectServerValidator()=default
Constructor for QgsProjectServerValidator.
ValidationError
Errors that might be raised by the validation process.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Contains the parameters describing a project validation failure.
ValidationResult(const QgsProjectServerValidator::ValidationError error, const QVariant &identifier)
Constructor for ValidationResult.
QVariant identifier
Identifier related to the error.
QgsProjectServerValidator::ValidationError error
Error which occurred during the validation process.