Skip to content

Commit 2258e24

Browse files
nyalldawsonnirvn
authored andcommittedMay 18, 2020
Fix dox test
1 parent efecc6f commit 2258e24

File tree

2 files changed

+22
-29
lines changed

2 files changed

+22
-29
lines changed
 

‎python/core/auto_generated/qgstemporalutils.sip.in

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,15 @@ This method considers the temporal range available from layers contained within
3131
returns the maximal combined temporal extent of these layers.
3232
%End
3333

34-
class AnimationExportSettings
35-
{
36-
37-
%TypeHeaderCode
38-
#include "qgstemporalutils.h"
39-
%End
40-
public:
41-
42-
QgsDateTimeRange animationRange;
34+
struct AnimationExportSettings
35+
{
36+
QgsDateTimeRange animationRange;
4337

44-
QgsInterval frameDuration;
38+
QgsInterval frameDuration;
4539

46-
QString outputDirectory;
40+
QString outputDirectory;
4741

48-
QString fileNameTemplate;
42+
QString fileNameTemplate;
4943

5044
};
5145

‎src/core/qgstemporalutils.h

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,26 @@ class CORE_EXPORT QgsTemporalUtils
4444
*/
4545
static QgsDateTimeRange calculateTemporalRangeForProject( QgsProject *project );
4646

47-
class AnimationExportSettings
47+
//! Contains settings relating to exporting animations
48+
struct AnimationExportSettings
4849
{
49-
public:
50+
//! Dictates the overall temporal range of the animation.
51+
QgsDateTimeRange animationRange;
5052

51-
//! Dictates the overall temporal range of the animation.
52-
QgsDateTimeRange animationRange;
53+
//! Duration of individual export frames
54+
QgsInterval frameDuration;
5355

54-
//! Duration of individual export frames
55-
QgsInterval frameDuration;
56+
//! Destination directory for created image files.
57+
QString outputDirectory;
5658

57-
//! Destination directory for created image files.
58-
QString outputDirectory;
59-
60-
/**
61-
* The filename template for exporting the frames.
62-
*
63-
* This must be in format prefix####.format, where number of
64-
* \a # characters represents how many 0's should be left-padded to the frame number
65-
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
66-
*/
67-
QString fileNameTemplate;
59+
/**
60+
* The filename template for exporting the frames.
61+
*
62+
* This must be in format prefix####.format, where number of
63+
* \a # characters represents how many 0's should be left-padded to the frame number
64+
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
65+
*/
66+
QString fileNameTemplate;
6867

6968
};
7069

0 commit comments

Comments
 (0)
Please sign in to comment.