mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-05 00:06:38 -05:00
rename takeScreenshots to takePicturesOf
This commit is contained in:
parent
6af8ea8d1f
commit
2b4de28293
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user