Skip to content
Permalink
Browse files

rename takeScreenshots to takePicturesOf

  • Loading branch information
3nids committed Sep 28, 2018
1 parent 6af8ea8 commit 2b4de28293e43f49659321bc2e81a9e130a0de10
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgsappscreenshots.cpp
  3. +1 −1 src/app/qgsappscreenshots.h
@@ -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
@@ -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();
@@ -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 );

0 comments on commit 2b4de28

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