@@ -441,7 +441,7 @@ bool QgsRasterLayer::readFile( QString const & fileName )
441441
442442 // Get the layer's projection info and set up the
443443 // QgsCoordinateTransform for this layer
444- // NOTE: we must do this before getMetadata is called
444+ // NOTE: we must do this before metadata is called
445445
446446 QString mySourceWkt = getProjectionWkt ();
447447
@@ -462,7 +462,7 @@ bool QgsRasterLayer::readFile( QString const & fileName )
462462 // that they match the coordinate system of this layer
463463 QgsDebugMsg ( " Layer registry has " + QString::number ( QgsMapLayerRegistry::instance ()->count () ) + " layers" );
464464
465- getMetadata ();
465+ metadata ();
466466
467467 // Use the affine transform to get geo coordinates for
468468 // the corners of the raster
@@ -3010,7 +3010,7 @@ void QgsRasterLayer::updateProgress( int theProgress, int theMax )
30103010
30113011
30123012
3013- // convenience function for building getMetadata () HTML table cells
3013+ // convenience function for building metadata () HTML table cells
30143014static
30153015QString
30163016makeTableCell_ ( QString const & value )
@@ -3020,7 +3020,7 @@ makeTableCell_( QString const & value )
30203020
30213021
30223022
3023- // convenience function for building getMetadata () HTML table cells
3023+ // convenience function for building metadata () HTML table cells
30243024static
30253025QString
30263026makeTableCells_ ( QStringList const & values )
@@ -3061,7 +3061,7 @@ cStringList2Q_( char ** stringList )
30613061
30623062
30633063
3064- QString QgsRasterLayer::getMetadata ()
3064+ QString QgsRasterLayer::metadata ()
30653065{
30663066 QString myMetadata ;
30673067 myMetadata += " <p class=\" glossy\" >" + tr ( " Driver:" ) + " </p>\n " ;
@@ -3081,7 +3081,7 @@ QString QgsRasterLayer::getMetadata()
30813081 if ( !mProviderKey .isEmpty () )
30823082 {
30833083 // Insert provider-specific (e.g. WMS-specific) metadata
3084- myMetadata += mDataProvider ->getMetadata ();
3084+ myMetadata += mDataProvider ->metadata ();
30853085 }
30863086 else
30873087 {
0 commit comments