Undeprecate provider CreateAttributeIndex capability

This capability is still used in QGIS and has value for
plugins
This commit is contained in:
Nyall Dawson 2016-09-15 06:16:28 +10:00
parent 5c1151ccb6
commit ccd9cc8a15
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class QgsVectorDataProvider : QgsDataProvider
SelectAtId,
/** Allows modifications of geometries */
ChangeGeometries,
/** DEPRECATED - do not use */
/** Can create indexes on provider's fields */
CreateAttributeIndex,
/** Allows user to select encoding */
SelectEncoding,

View File

@ -80,7 +80,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider
ChangeGeometries = 1 << 8,
/** Allows user to select encoding */
SelectEncoding = 1 << 13,
/** DEPRECATED - do not use */
/** Can create indexes on provider's fields */
CreateAttributeIndex = 1 << 12,
/** Supports simplification of geometries on provider side according to a distance tolerance */
SimplifyGeometries = 1 << 14,