Skip to content
Permalink
Browse files

Remove some unused constants

  • Loading branch information
nyalldawson committed Jul 21, 2016
1 parent 713e22a commit 8f203c9a87867181ce709e3188bda1a9fed48153
Showing with 1 addition and 13 deletions.
  1. +1 −0 doc/api_break.dox
  2. +0 −6 python/core/qgis.sip
  3. +0 −1 src/core/qgis.cpp
  4. +0 −6 src/core/qgis.h
@@ -47,6 +47,7 @@ This page tries to maintain a list with incompatible changes that happened in pr
<li>The QGis class was renamed to Qgis for capitalisation consistency with other class names</li>
<li>permissiveToDouble() and permissiveToInt() where moved out of the QGis class and renamed to qgsPermissiveToDouble() and
qgsPermissiveToInt()</li>
<li>The constants DEFAULT_IDENTIFY_RADIUS and MINIMUM_POINT_SIZE were removed</li>
</ul>

\subsection qgis_api_break_3_0_QgsAuthConfigUriEdit QgsAuthConfigUriEdit
@@ -192,10 +192,6 @@ class Qgis
ProviderCountCalcEvent
};

/** Old search radius in % of canvas width
* @deprecated since 2.3, use DEFAULT_SEARCH_RADIUS_MM */
static const double DEFAULT_IDENTIFY_RADIUS;

/** Identify search radius in mm
* @note added in 2.3 */
static const double DEFAULT_SEARCH_RADIUS_MM;
@@ -289,8 +285,6 @@ const QString GEO_NONE;
// Constants for point symbols
//

/** Magic number that determines the minimum allowable point size for point symbols */
const double MINIMUM_POINT_SIZE;
/** Magic number that determines the default point size for point symbols */
const double DEFAULT_POINT_SIZE;
const double DEFAULT_LINE_WIDTH;
@@ -75,7 +75,6 @@ const QString GEO_EPSG_CRS_AUTHID = "EPSG:4326";

const QString GEO_NONE = "NONE";

const double Qgis::DEFAULT_IDENTIFY_RADIUS = 0.5;
const double Qgis::DEFAULT_SEARCH_RADIUS_MM = 2.;

//! Default threshold between map coordinates and device coordinates for map2pixel simplification
@@ -206,10 +206,6 @@ class CORE_EXPORT Qgis
ProviderCountCalcEvent
};

/** Old search radius in % of canvas width
* @deprecated since 2.3, use DEFAULT_SEARCH_RADIUS_MM */
Q_DECL_DEPRECATED static const double DEFAULT_IDENTIFY_RADIUS;

/** Identify search radius in mm
* @note added in 2.3 */
static const double DEFAULT_SEARCH_RADIUS_MM;
@@ -480,8 +476,6 @@ extern CORE_EXPORT const QString GEO_NONE;
// Constants for point symbols
//

/** Magic number that determines the minimum allowable point size for point symbols */
const double MINIMUM_POINT_SIZE = 0.1;
/** Magic number that determines the default point size for point symbols */
const double DEFAULT_POINT_SIZE = 2.0;
const double DEFAULT_LINE_WIDTH = 0.26;

0 comments on commit 8f203c9

Please sign in to comment.
You can’t perform that action at this time.