Skip to content

Commit

Permalink
[Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed May 21, 2017
1 parent ca29b22 commit 087e7f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/server/qgsserverprojectutils.sip
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectutils.cpp
Expand Up @@ -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( "/" ), "" );

Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectutils.h
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -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" ) );
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 087e7f7

Please sign in to comment.