Skip to content

Commit cd159f6

Browse files
alexbruy3nids
authored andcommitted
add class prefixes
1 parent 782c3e5 commit cd159f6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/core/qgsstatisticalsummary.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class CORE_EXPORT QgsStatisticalSummary
6969
/** Constructor for QgsStatisticalSummary
7070
* \param stats flags for statistics to calculate
7171
*/
72-
QgsStatisticalSummary( QgsStatisticalSummary::Statistics stats = All );
72+
QgsStatisticalSummary( QgsStatisticalSummary::Statistics stats = QgsStatisticalSummary::All );
7373

7474
virtual ~QgsStatisticalSummary() = default;
7575

@@ -84,7 +84,7 @@ class CORE_EXPORT QgsStatisticalSummary
8484
* \param stats flags for statistics to calculate
8585
* \see statistics
8686
*/
87-
void setStatistics( Statistics stats ) { mStatistics = stats; }
87+
void setStatistics( QgsStatisticalSummary::Statistics stats ) { mStatistics = stats; }
8888

8989
/** Resets the calculated values
9090
*/
@@ -140,7 +140,7 @@ class CORE_EXPORT QgsStatisticalSummary
140140
* \returns calculated value of statistic. A NaN value may be returned for invalid
141141
* statistics.
142142
*/
143-
double statistic( Statistic stat ) const;
143+
double statistic( QgsStatisticalSummary::Statistic stat ) const;
144144

145145
/** Returns calculated count of values
146146
*/
@@ -244,7 +244,7 @@ class CORE_EXPORT QgsStatisticalSummary
244244
/** Returns the friendly display name for a statistic
245245
* \param statistic statistic to return name for
246246
*/
247-
static QString displayName( Statistic statistic );
247+
static QString displayName( QgsStatisticalSummary::Statistic statistic );
248248

249249
private:
250250

src/core/qgsstringstatisticalsummary.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
6161
/** Constructor for QgsStringStatistics
6262
* \param stats flags for statistics to calculate
6363
*/
64-
QgsStringStatisticalSummary( QgsStringStatisticalSummary::Statistics stats = All );
64+
QgsStringStatisticalSummary( QgsStringStatisticalSummary::Statistics stats = QgsStringStatisticalSummary::All );
6565

6666
/** Returns flags which specify which statistics will be calculated. Some statistics
6767
* are always calculated (e.g., count).
@@ -74,7 +74,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
7474
* \param stats flags for statistics to calculate
7575
* \see statistics
7676
*/
77-
void setStatistics( Statistics stats ) { mStatistics = stats; }
77+
void setStatistics( QgsStringStatisticalSummary::Statistics stats ) { mStatistics = stats; }
7878

7979
/** Resets the calculated values
8080
*/
@@ -134,7 +134,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
134134
* \param stat statistic to return
135135
* \returns calculated value of statistic
136136
*/
137-
QVariant statistic( Statistic stat ) const;
137+
QVariant statistic( QgsStringStatisticalSummary::Statistic stat ) const;
138138

139139
/** Returns the calculated count of values.
140140
*/
@@ -179,7 +179,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
179179
/** Returns the friendly display name for a statistic
180180
* \param statistic statistic to return name for
181181
*/
182-
static QString displayName( Statistic statistic );
182+
static QString displayName( QgsStringStatisticalSummary::Statistic statistic );
183183

184184
private:
185185

0 commit comments

Comments
 (0)