Skip to content

Commit 087e7f7

Browse files
committedMay 21, 2017
[Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming
1 parent ca29b22 commit 087e7f7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎python/server/qgsserverprojectutils.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace QgsServerProjectUtils
121121
* \param project the QGIS project
122122
* \returns if the info format is SIA20145.
123123
*/
124-
bool wmsInfoFormatSIA2045( const QgsProject &project );
124+
bool wmsInfoFormatSia2045( const QgsProject &project );
125125

126126
/** Returns if Inspire is activated.
127127
* \param project the QGIS project

‎src/server/qgsserverprojectutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ bool QgsServerProjectUtils::wmsUseLayerIds( const QgsProject &project )
9292
return project.readBoolEntry( QStringLiteral( "WMSUseLayerIDs" ), QStringLiteral( "/" ) );
9393
}
9494

95-
bool QgsServerProjectUtils::wmsInfoFormatSIA2045( const QgsProject &project )
95+
bool QgsServerProjectUtils::wmsInfoFormatSia2045( const QgsProject &project )
9696
{
9797
QString sia2045 = project.readEntry( QStringLiteral( "WMSInfoFormatSIA2045" ), QStringLiteral( "/" ), "" );
9898

‎src/server/qgsserverprojectutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace QgsServerProjectUtils
123123
* \param project the QGIS project
124124
* \returns if the info format is SIA20145.
125125
*/
126-
SERVER_EXPORT bool wmsInfoFormatSIA2045( const QgsProject &project );
126+
SERVER_EXPORT bool wmsInfoFormatSia2045( const QgsProject &project );
127127

128128
/** Returns if Inspire is activated.
129129
* \param project the QGIS project

‎src/server/services/wms/qgswmsgetcapabilities.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ namespace QgsWms
224224

225225
QDomElement getServiceElement( QDomDocument &doc, const QgsProject *project, const QString &version )
226226
{
227-
bool sia2045 = QgsServerProjectUtils::wmsInfoFormatSIA2045( *project );
227+
bool sia2045 = QgsServerProjectUtils::wmsInfoFormatSia2045( *project );
228228

229229
//Service element
230230
QDomElement serviceElem = doc.createElement( QStringLiteral( "Service" ) );
@@ -819,7 +819,7 @@ namespace QgsWms
819819
bool projectSettings )
820820
{
821821
bool useLayerIds = QgsServerProjectUtils::wmsUseLayerIds( *project );
822-
bool siaFormat = QgsServerProjectUtils::wmsInfoFormatSIA2045( *project );
822+
bool siaFormat = QgsServerProjectUtils::wmsInfoFormatSia2045( *project );
823823
QStringList restrictedLayers = QgsServerProjectUtils::wmsRestrictedLayers( *project );
824824

825825
QList< QgsLayerTreeNode * > layerTreeGroupChildren = layerTreeGroup->children();

0 commit comments

Comments
 (0)
Please sign in to comment.