Skip to content
Permalink
Browse files

fix typo

  • Loading branch information
jef-n committed Jun 9, 2016
1 parent acc84bf commit 03de74dc89ba46e9e536fa080de8c53655842416
@@ -6,7 +6,7 @@
* emitted whe the request has finished (successfully or with an error).
*
* To check whether the the request has been successful, check hasError() and use errorString()
* to retreive error message. An error may happen either directly in start() method
* to retrieve error message. An error may happen either directly in start() method
* or during the network communication.
*
* By default OSMDownload uses remote service at location returned by defaultServiceUrl() method.
@@ -362,7 +362,7 @@ class QgsComposerTableV2: QgsComposerMultiFrame
void setCellStyle( CellStyleGroup group, const QgsComposerTableStyle& style );

/** Returns the cell style for a cell group.
* @param group group to retreive style for
* @param group group to retrieve style for
* @see setCellStyle()
* @note added in QGIS 2.12
*/
@@ -56,7 +56,7 @@ class QgsShadowEffect : QgsPaintEffect
void setOffsetDistance( const double distance );

/** Returns the distance used for offsetting the shadow.
* @returns offset distance. Distance units are retreived via @link offsetUnit @endlink
* @returns offset distance. Distance units are retrieved via @link offsetUnit @endlink
* @see setOffsetDistance
* @see offsetUnit
* @see offsetMapUnitScale
@@ -15,7 +15,7 @@ class QgsSourceSelectDialog : public QDialog //, protected Ui::QgsSourceSelectBa
QgsSourceSelectDialog( const QString& serviceName, ServiceType serviceType, QWidget* parent, Qt::WindowFlags fl );
/** Destructor */
~QgsSourceSelectDialog();
/** Sets the current extent and CRS. Used to select an appropriate CRS and possibly to retreive data only in the current extent */
/** Sets the current extent and CRS. Used to select an appropriate CRS and possibly to retrieve data only in the current extent */
void setCurrentExtentAndCrs( const QgsRectangle& canvasExtent, const QgsCoordinateReferenceSystem& canvasCrs );

signals:
@@ -31,7 +31,7 @@ class QgsRectangle;
* emitted whe the request has finished (successfully or with an error).
*
* To check whether the the request has been successful, check hasError() and use errorString()
* to retreive error message. An error may happen either directly in start() method
* to retrieve error message. An error may happen either directly in start() method
* or during the network communication.
*
* By default OSMDownload uses remote service at location returned by defaultServiceUrl() method.
@@ -387,7 +387,7 @@ class CORE_EXPORT QgsComposerTableV2: public QgsComposerMultiFrame
void setCellStyle( CellStyleGroup group, const QgsComposerTableStyle& style );

/** Returns the cell style for a cell group.
* @param group group to retreive style for
* @param group group to retrieve style for
* @see setCellStyle()
* @note added in QGIS 2.12
*/
@@ -77,7 +77,7 @@ class CORE_EXPORT QgsShadowEffect : public QgsPaintEffect
void setOffsetDistance( const double distance ) { mOffsetDist = distance; }

/** Returns the distance used for offsetting the shadow.
* @returns offset distance. Distance units are retreived via @link offsetUnit @endlink
* @returns offset distance. Distance units are retrieved via @link offsetUnit @endlink
* @see setOffsetDistance
* @see offsetUnit
* @see offsetMapUnitScale
@@ -52,7 +52,7 @@ class CORE_EXPORT QgsOgrUtils
/** Retrieves an attribute value from an OGR feature.
* @param ogrFet OGR feature handle
* @param fields fields collection corresponding to feature
* @param attIndex index of attribute to retreive
* @param attIndex index of attribute to retrieve
* @param encoding text encoding
* @param ok optional storage for success of retrieval
* @returns attribute converted to a QVariant object
@@ -40,7 +40,7 @@ class GUI_EXPORT QgsSourceSelectDialog : public QDialog, protected Ui::QgsSource
QgsSourceSelectDialog( const QString& serviceName, ServiceType serviceType, QWidget* parent, Qt::WindowFlags fl );
/** Destructor */
~QgsSourceSelectDialog();
/** Sets the current extent and CRS. Used to select an appropriate CRS and possibly to retreive data only in the current extent */
/** Sets the current extent and CRS. Used to select an appropriate CRS and possibly to retrieve data only in the current extent */
void setCurrentExtentAndCrs( const QgsRectangle& canvasExtent, const QgsCoordinateReferenceSystem& canvasCrs );

signals:
@@ -75,7 +75,7 @@ QgsAfsProvider::QgsAfsProvider( const QString& uri )
mExtent.setYMaximum( layerExtentMap["ymax"].toDouble( &ymaxOk ) );
if ( !xminOk || !yminOk || !xmaxOk || !ymaxOk )
{
appendError( QgsErrorMessage( tr( "Could not retreive layer extent" ), "AFSProvider" ) );
appendError( QgsErrorMessage( tr( "Could not retrieve layer extent" ), "AFSProvider" ) );
return;
}
QgsCoordinateReferenceSystem extentCrs = QgsArcGisRestUtils::parseSpatialReference( layerExtentMap["spatialReference"].toMap() );
@@ -40,7 +40,7 @@ bool QgsAfsSourceSelect::connectToService( const QgsOWSConnection &connection )
QVariantMap serviceInfoMap = QgsArcGisRestUtils::getServiceInfo( connection.uri().param( "url" ), errorTitle, errorMessage );
if ( serviceInfoMap.isEmpty() )
{
QMessageBox::warning( this, tr( "Error" ), tr( "Failed to retreive service capabilities:\n%1: %2" ).arg( errorTitle ).arg( errorMessage ) );
QMessageBox::warning( this, tr( "Error" ), tr( "Failed to retrieve service capabilities:\n%1: %2" ).arg( errorTitle ).arg( errorMessage ) );
return false;
}

@@ -40,7 +40,7 @@ bool QgsAmsSourceSelect::connectToService( const QgsOWSConnection &connection )
QVariantMap serviceInfoMap = QgsArcGisRestUtils::getServiceInfo( connection.uri().param( "url" ), errorTitle, errorMessage );
if ( serviceInfoMap.isEmpty() )
{
QMessageBox::warning( this, tr( "Error" ), tr( "Failed to retreive service capabilities:\n%1: %2" ).arg( errorTitle ).arg( errorMessage ) );
QMessageBox::warning( this, tr( "Error" ), tr( "Failed to retrieve service capabilities:\n%1: %2" ).arg( errorTitle ).arg( errorMessage ) );
return false;
}

0 comments on commit 03de74d

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