Skip to content
Permalink
Browse files

[Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming

  • Loading branch information
rldhont committed May 21, 2017
1 parent ca29b22 commit 087e7f75dc3b5a8e5e5a1ffb391e51bbe8d65c61
@@ -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();

0 comments on commit 087e7f7

Please sign in to comment.
You can’t perform that action at this time.