Skip to content

Commit 1e49bb1

Browse files
authored
Merge pull request #9290 from pblottiere/fix_doc_2
Update doc
2 parents 7bcba35 + 3fbda69 commit 1e49bb1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

python/core/auto_generated/raster/qgsrasterlayer.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ so the rasterlayer class appends the band number in brackets behind each band na
5555

5656
Sample usage of the QgsRasterLayer class:
5757

58-
In order to automate redrawing of a raster layer, you should like it to a map canvas like this :
58+
In order to automate redrawing of a raster layer, you should link it to a map canvas like this :
5959

6060
Once a layer has been created you can find out what type of layer it is (GrayOrUndefined, Palette or Multiband):
6161

python/gui/auto_generated/qgsmapcanvas.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ Receives signal about selection change, and pass it on with layer info
739739

740740
void saveAsImage( const QString &fileName, QPixmap *QPixmap = 0, const QString & = "PNG" );
741741
%Docstring
742-
Save the convtents of the map canvas to disk as an image
742+
Save the contents of the map canvas to disk as an image
743743
%End
744744

745745
void layerStateChange();

src/core/raster/qgsrasterlayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef QList < QPair< QString, QColor > > QgsLegendColorList;
9797
* QgsRasterLayer *myRasterLayer = new QgsRasterLayer(myFileNameQString, myBaseNameQString);
9898
* \endcode
9999
*
100-
* In order to automate redrawing of a raster layer, you should like it to a map canvas like this :
100+
* In order to automate redrawing of a raster layer, you should link it to a map canvas like this :
101101
*
102102
* \code{.cpp}
103103
* QObject::connect( myRasterLayer, SIGNAL(repaintRequested()), mapCanvas, SLOT(refresh()) );

src/gui/qgsmapcanvas.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
651651
//! Receives signal about selection change, and pass it on with layer info
652652
void selectionChangedSlot();
653653

654-
//! Save the convtents of the map canvas to disk as an image
654+
//! Save the contents of the map canvas to disk as an image
655655
void saveAsImage( const QString &fileName, QPixmap *QPixmap = nullptr, const QString & = "PNG" );
656656

657657
//! This slot is connected to the visibility change of one or more layers

0 commit comments

Comments
 (0)