18#ifndef QGSPROJECTSERVERVALIDATOR_H
19#define QGSPROJECTSERVERVALIDATOR_H
49 ProjectRootNameConflict = 4,
70 , identifier( identifier )
92 static bool validate(
QgsProject *project, QList< QgsProjectServerValidator::ValidationResult > &results
SIP_OUT );
95 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
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.