@@ -168,20 +168,20 @@ class QgsCoordinateReferenceSystem
168168 * - "WKT:<wkt>" - handled with createFromWkt()
169169 *
170170 * If no prefix is specified, WKT definition is assumed.
171- * @param theDefinition A String containing a coordinate reference system definition.
171+ * @param definition A String containing a coordinate reference system definition.
172172 * @see createFromString()
173173 */
174174 // TODO QGIS 3: remove "POSTGIS" and "INTERNAL", allow PROJ4 without the prefix
175- explicit QgsCoordinateReferenceSystem( const QString& theDefinition );
175+ explicit QgsCoordinateReferenceSystem( const QString& definition );
176176
177177 /** Constructor a CRS object using a postgis SRID, an EPSG code or an internal QGIS CRS ID.
178178 * @note We encourage you to use EPSG code, WKT or Proj4 to describe CRS's in your code
179179 * wherever possible. Internal QGIS CRS IDs are not guaranteed to be permanent / involatile.
180- * @param theId The ID valid for the chosen CRS ID type
181- * @param theType One of the types described in CrsType
180+ * @param id The ID valid for the chosen CRS ID type
181+ * @param type One of the types described in CrsType
182182 */
183- // TODO QGIS 3: remove theType and always use EPSG code
184- QgsCoordinateReferenceSystem( const long theId , CrsType theType = PostgisCrsId );
183+ // TODO QGIS 3: remove type and always use EPSG code
184+ QgsCoordinateReferenceSystem( const long id , CrsType type = PostgisCrsId );
185185
186186 static QList< long > validSrsIds();
187187
@@ -234,8 +234,8 @@ class QgsCoordinateReferenceSystem
234234 * wherever possible. Internal QGIS CRS IDs are not guaranteed to be permanent / involatile.
235235 * @return True on success else false
236236 */
237- // TODO QGIS 3: remove theType and always use EPSG code, rename to createFromEpsg
238- bool createFromId( const long theId , CrsType theType = PostgisCrsId );
237+ // TODO QGIS 3: remove type and always use EPSG code, rename to createFromEpsg
238+ bool createFromId( const long id , CrsType type = PostgisCrsId );
239239
240240 /**
241241 * Sets this CRS to the given OGC WMS-format Coordinate Reference Systems.
@@ -247,14 +247,14 @@ class QgsCoordinateReferenceSystem
247247 * @return True on success else false
248248 */
249249 // TODO QGIS 3: remove "QGIS" and "CUSTOM", only support "USER" (also returned by authid())
250- bool createFromOgcWmsCrs( const QString& theCrs );
250+ bool createFromOgcWmsCrs( const QString& crs );
251251
252252 /** Sets this CRS by lookup of the given PostGIS SRID in the CRS database.
253- * @param theSrid The postgis SRID for the desired spatial reference system.
253+ * @param srid The postgis SRID for the desired spatial reference system.
254254 * @return True on success else false
255255 */
256256 // TODO QGIS 3: remove unless really necessary - let's use EPSG codes instead
257- bool createFromSrid( const long theSrid );
257+ bool createFromSrid( const long srid );
258258
259259 /** Sets this CRS using a WKT definition.
260260 *
@@ -264,20 +264,20 @@ class QgsCoordinateReferenceSystem
264264 * set up the object.
265265 * @note Some members may be left blank if no match can be found in CRS database.
266266 * @note this method uses an internal cache. Call invalidateCache() to clear the cache.
267- * @param theWkt The WKT for the desired spatial reference system.
267+ * @param wkt The WKT for the desired spatial reference system.
268268 * @return True on success else false
269269 */
270- bool createFromWkt( const QString &theWkt );
270+ bool createFromWkt( const QString &wkt );
271271
272272 /** Sets this CRS by lookup of internal QGIS CRS ID in the CRS database.
273273 *
274274 * If the srsid is < USER_CRS_START_ID, system CRS database is used, otherwise
275275 * user's local CRS database from home directory is used.
276276 * @note this method uses an internal cache. Call invalidateCache() to clear the cache.
277- * @param theSrsId The internal QGIS CRS ID for the desired spatial reference system.
277+ * @param srsId The internal QGIS CRS ID for the desired spatial reference system.
278278 * @return True on success else false
279279 */
280- bool createFromSrsId( const long theSrsId );
280+ bool createFromSrsId( const long srsId );
281281
282282 /** Sets this CRS by passing it a PROJ.4 style formatted string.
283283 *
@@ -297,10 +297,10 @@ class QgsCoordinateReferenceSystem
297297 *
298298 * @note Some members may be left blank if no match can be found in CRS database.
299299 * @note this method uses an internal cache. Call invalidateCache() to clear the cache.
300- * @param theProjString A proj4 format string
300+ * @param projString A proj4 format string
301301 * @return True on success else false
302302 */
303- bool createFromProj4( const QString &theProjString );
303+ bool createFromProj4( const QString &projString );
304304
305305 /** Set up this CRS from a string definition.
306306 *
@@ -312,10 +312,10 @@ class QgsCoordinateReferenceSystem
312312 * - "WKT:<wkt>" - handled with createFromWkt()
313313 *
314314 * If no prefix is specified, WKT definition is assumed.
315- * @param theDefinition A String containing a coordinate reference system definition.
315+ * @param definition A String containing a coordinate reference system definition.
316316 * @return True on success else false
317317 */
318- bool createFromString( const QString &theDefinition );
318+ bool createFromString( const QString &definition );
319319
320320 /** Set up this CRS from various text formats.
321321 *
@@ -328,11 +328,11 @@ class QgsCoordinateReferenceSystem
328328 * ( http://www.gdal.org/ogr/classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796 )
329329 * @note this function generates a WKT string using OSRSetFromUserInput() and
330330 * passes it to createFromWkt() function.
331- * @param theDefinition A String containing a coordinate reference system definition.
331+ * @param definition A String containing a coordinate reference system definition.
332332 * @return True on success else false
333333 */
334334 // TODO QGIS3: rename to createFromStringOGR so it is clear it's similar to createFromString, just different backend
335- bool createFromUserInput( const QString &theDefinition );
335+ bool createFromUserInput( const QString &definition );
336336
337337 /** Make sure that ESRI WKT import is done properly.
338338 * This is required for proper shapefile CRS import when using gdal>= 1.9.
@@ -372,24 +372,24 @@ class QgsCoordinateReferenceSystem
372372 *
373373 * Internally it will use authid() for comparison.
374374 */
375- bool operator==( const QgsCoordinateReferenceSystem &theSrs ) const;
375+ bool operator==( const QgsCoordinateReferenceSystem &srs ) const;
376376 /** Overloaded != operator used to compare to CRS's.
377377 *
378378 * Returns opposite bool value to operator ==
379379 */
380- bool operator!=( const QgsCoordinateReferenceSystem &theSrs ) const;
380+ bool operator!=( const QgsCoordinateReferenceSystem &srs ) const;
381381
382382 /** Restores state from the given DOM node.
383- * @param theNode The node from which state will be restored
383+ * @param node The node from which state will be restored
384384 * @return bool True on success, False on failure
385385 */
386- bool readXml( const QDomNode & theNode );
386+ bool readXml( const QDomNode & node );
387387 /** Stores state to the given Dom node in the given document.
388- * @param theNode The node in which state will be restored
389- * @param theDoc The document in which state will be stored
388+ * @param node The node in which state will be restored
389+ * @param doc The document in which state will be stored
390390 * @return bool True on success, False on failure
391391 */
392- bool writeXml( QDomNode & theNode , QDomDocument & theDoc ) const;
392+ bool writeXml( QDomNode & node , QDomDocument & doc ) const;
393393
394394
395395 /** Sets custom function to force valid CRS
0 commit comments