Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
rename takeScreenshots to takePicturesOf
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+1
−1
src/app/qgisapp.cpp
-
+1
−1
src/app/qgsappscreenshots.cpp
-
+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 ); |
|
|