rename takeScreenshots to takePicturesOf

This commit is contained in:
Denis Rouzaud 2018-09-28 08:15:07 -04:00
parent 6af8ea8d1f
commit 2b4de28293
3 changed files with 3 additions and 3 deletions

View File

@ -13066,7 +13066,7 @@ void QgisApp::zoomToBookmarkIndex( const QModelIndex &index )
void QgisApp::takeAppScreenShots( const QString &saveDirectory, const int categories )
{
QgsAppScreenShots ass( saveDirectory );
ass.takeScreenshots( QgsAppScreenShots::Categories( categories ) );
ass.takePicturesOf( QgsAppScreenShots::Categories( categories ) );
}
// Slot that gets called when the project file was saved with an older

View File

@ -115,7 +115,7 @@ QScreen *QgsAppScreenShots::screen( QWidget *widget )
return screen;
}
void QgsAppScreenShots::takeScreenshots( Categories categories )
void QgsAppScreenShots::takePicturesOf( Categories categories )
{
if ( !categories || categories.testFlag( VectorLayerProperties ) )
takeVectorLayerProperties();

View File

@ -52,7 +52,7 @@ class QgsAppScreenShots
QgsAppScreenShots( const QString &saveDirectory );
//! if categories is null, then takes all categories
void takeScreenshots( Categories categories = nullptr );
void takePicturesOf( Categories categories = nullptr );
private:
QScreen *screen( QWidget *widget = nullptr );