Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming
- Loading branch information
|
@@ -121,7 +121,7 @@ namespace QgsServerProjectUtils |
|
|
* \param project the QGIS project |
|
|
* \returns if the info format is SIA20145. |
|
|
*/ |
|
|
bool wmsInfoFormatSIA2045( const QgsProject &project ); |
|
|
bool wmsInfoFormatSia2045( const QgsProject &project ); |
|
|
|
|
|
/** Returns if Inspire is activated. |
|
|
* \param project the QGIS project |
|
|
|
@@ -92,7 +92,7 @@ bool QgsServerProjectUtils::wmsUseLayerIds( const QgsProject &project ) |
|
|
return project.readBoolEntry( QStringLiteral( "WMSUseLayerIDs" ), QStringLiteral( "/" ) ); |
|
|
} |
|
|
|
|
|
bool QgsServerProjectUtils::wmsInfoFormatSIA2045( const QgsProject &project ) |
|
|
bool QgsServerProjectUtils::wmsInfoFormatSia2045( const QgsProject &project ) |
|
|
{ |
|
|
QString sia2045 = project.readEntry( QStringLiteral( "WMSInfoFormatSIA2045" ), QStringLiteral( "/" ), "" ); |
|
|
|
|
|
|
@@ -123,7 +123,7 @@ namespace QgsServerProjectUtils |
|
|
* \param project the QGIS project |
|
|
* \returns if the info format is SIA20145. |
|
|
*/ |
|
|
SERVER_EXPORT bool wmsInfoFormatSIA2045( const QgsProject &project ); |
|
|
SERVER_EXPORT bool wmsInfoFormatSia2045( const QgsProject &project ); |
|
|
|
|
|
/** Returns if Inspire is activated. |
|
|
* \param project the QGIS project |
|
|
|
@@ -224,7 +224,7 @@ namespace QgsWms |
|
|
|
|
|
QDomElement getServiceElement( QDomDocument &doc, const QgsProject *project, const QString &version ) |
|
|
{ |
|
|
bool sia2045 = QgsServerProjectUtils::wmsInfoFormatSIA2045( *project ); |
|
|
bool sia2045 = QgsServerProjectUtils::wmsInfoFormatSia2045( *project ); |
|
|
|
|
|
//Service element |
|
|
QDomElement serviceElem = doc.createElement( QStringLiteral( "Service" ) ); |
|
@@ -819,7 +819,7 @@ namespace QgsWms |
|
|
bool projectSettings ) |
|
|
{ |
|
|
bool useLayerIds = QgsServerProjectUtils::wmsUseLayerIds( *project ); |
|
|
bool siaFormat = QgsServerProjectUtils::wmsInfoFormatSIA2045( *project ); |
|
|
bool siaFormat = QgsServerProjectUtils::wmsInfoFormatSia2045( *project ); |
|
|
QStringList restrictedLayers = QgsServerProjectUtils::wmsRestrictedLayers( *project ); |
|
|
|
|
|
QList< QgsLayerTreeNode * > layerTreeGroupChildren = layerTreeGroup->children(); |
|
|