Skip to content

Commit

Permalink
add class prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and 3nids committed May 1, 2017
1 parent 782c3e5 commit cd159f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/core/qgsstatisticalsummary.h
Expand Up @@ -69,7 +69,7 @@ class CORE_EXPORT QgsStatisticalSummary
/** Constructor for QgsStatisticalSummary
* \param stats flags for statistics to calculate
*/
QgsStatisticalSummary( QgsStatisticalSummary::Statistics stats = All );
QgsStatisticalSummary( QgsStatisticalSummary::Statistics stats = QgsStatisticalSummary::All );

virtual ~QgsStatisticalSummary() = default;

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

/** Resets the calculated values
*/
Expand Down Expand Up @@ -140,7 +140,7 @@ class CORE_EXPORT QgsStatisticalSummary
* \returns calculated value of statistic. A NaN value may be returned for invalid
* statistics.
*/
double statistic( Statistic stat ) const;
double statistic( QgsStatisticalSummary::Statistic stat ) const;

/** Returns calculated count of values
*/
Expand Down Expand Up @@ -244,7 +244,7 @@ class CORE_EXPORT QgsStatisticalSummary
/** Returns the friendly display name for a statistic
* \param statistic statistic to return name for
*/
static QString displayName( Statistic statistic );
static QString displayName( QgsStatisticalSummary::Statistic statistic );

private:

Expand Down
8 changes: 4 additions & 4 deletions src/core/qgsstringstatisticalsummary.h
Expand Up @@ -61,7 +61,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
/** Constructor for QgsStringStatistics
* \param stats flags for statistics to calculate
*/
QgsStringStatisticalSummary( QgsStringStatisticalSummary::Statistics stats = All );
QgsStringStatisticalSummary( QgsStringStatisticalSummary::Statistics stats = QgsStringStatisticalSummary::All );

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

/** Resets the calculated values
*/
Expand Down Expand Up @@ -134,7 +134,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
* \param stat statistic to return
* \returns calculated value of statistic
*/
QVariant statistic( Statistic stat ) const;
QVariant statistic( QgsStringStatisticalSummary::Statistic stat ) const;

/** Returns the calculated count of values.
*/
Expand Down Expand Up @@ -179,7 +179,7 @@ class CORE_EXPORT QgsStringStatisticalSummary
/** Returns the friendly display name for a statistic
* \param statistic statistic to return name for
*/
static QString displayName( Statistic statistic );
static QString displayName( QgsStringStatisticalSummary::Statistic statistic );

private:

Expand Down

0 comments on commit cd159f6

Please sign in to comment.