@@ -406,12 +406,12 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
406
406
, readExtentFromXml( readExtentFromXml )
407
407
{}
408
408
409
- // ! Sets to true if the default layer style should be loaded
409
+ // ! Set to TRUE if the default layer style should be loaded
410
410
bool loadDefaultStyle = true ;
411
411
412
412
/* *
413
- * If true , the layer extent will be read from XML (i.e. stored in the
414
- * project file). If false , the extent will be determined by the provider on layer load.
413
+ * If TRUE , the layer extent will be read from XML (i.e. stored in the
414
+ * project file). If FALSE , the extent will be determined by the provider on layer load.
415
415
*/
416
416
bool readExtentFromXml = false ;
417
417
@@ -511,7 +511,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
511
511
512
512
/* *
513
513
* Removes a vector layer join
514
- * \returns true if join was found and successfully removed
514
+ * \returns TRUE if join was found and successfully removed
515
515
*/
516
516
bool removeJoin ( const QString &joinLayerId );
517
517
@@ -527,7 +527,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
527
527
* \see dependencies()
528
528
*
529
529
* \param layers set of QgsMapLayerDependency. Only user-defined dependencies will be added
530
- * \returns false if a dependency cycle has been detected
530
+ * \returns FALSE if a dependency cycle has been detected
531
531
* \since QGIS 3.0
532
532
*/
533
533
bool setDependencies ( const QSet<QgsMapLayerDependency> &layers ) FINAL;
@@ -713,7 +713,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
713
713
714
714
/* *
715
715
* Returns whether the layer contains labels which are enabled and should be drawn.
716
- * \returns true if layer contains enabled labels
716
+ * \returns TRUE if layer contains enabled labels
717
717
*
718
718
* \see setLabelsEnabled()
719
719
* \since QGIS 2.9
@@ -723,7 +723,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
723
723
/* *
724
724
* Sets whether labels should be \a enabled for the layer.
725
725
*
726
- * \note Labels will only be rendered if labelsEnabled() is true and a labeling
726
+ * \note Labels will only be rendered if labelsEnabled() is TRUE and a labeling
727
727
* object is returned by labeling().
728
728
*
729
729
* \see labelsEnabled()
@@ -733,7 +733,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
733
733
734
734
/* *
735
735
* Returns whether the layer contains diagrams which are enabled and should be drawn.
736
- * \returns true if layer contains enabled diagrams
736
+ * \returns TRUE if layer contains enabled diagrams
737
737
* \since QGIS 2.9
738
738
*/
739
739
bool diagramsEnabled () const ;
@@ -823,38 +823,38 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
823
823
* Delete a style from the database
824
824
* \param styleId the provider's layer_styles table id of the style to delete
825
825
* \param msgError reference to string that will be updated with any error messages
826
- * \returns true in case of success
826
+ * \returns TRUE in case of success
827
827
* \since QGIS 3.0
828
828
*/
829
829
virtual bool deleteStyleFromDatabase ( const QString &styleId, QString &msgError SIP_OUT );
830
830
831
831
/* *
832
832
* Load a named style from file/local db/datasource db
833
833
* \param theURI the URI of the style or the URI of the layer
834
- * \param resultFlag will be set to true if a named style is correctly loaded
835
- * \param loadFromLocalDb if true forces to load from local db instead of datasource one
834
+ * \param resultFlag will be set to TRUE if a named style is correctly loaded
835
+ * \param loadFromLocalDb if TRUE forces to load from local db instead of datasource one
836
836
* \param categories the style categories to be loaded.
837
837
*/
838
838
virtual QString loadNamedStyle ( const QString &theURI, bool &resultFlag SIP_OUT, bool loadFromLocalDb,
839
839
QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories );
840
840
841
841
/* *
842
- * Calls loadNamedStyle( theURI, resultFlag, false );
842
+ * Calls loadNamedStyle( theURI, resultFlag, FALSE );
843
843
* Retained for backward compatibility
844
844
*/
845
845
QString loadNamedStyle ( const QString &theURI, bool &resultFlag SIP_OUT,
846
846
QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories ) FINAL;
847
847
848
848
/* *
849
849
* Loads the auxiliary layer for this vector layer. If there's no
850
- * corresponding table in the database, then nothing happens and false is
850
+ * corresponding table in the database, then nothing happens and FALSE is
851
851
* returned. The key is optional because if this layer has been read from
852
852
* a XML document, then the key read in this document is used by default.
853
853
*
854
854
* \param storage The auxiliary storage where to look for the table
855
855
* \param key The key to use for joining.
856
856
*
857
- * \returns true if the auxiliary layer is well loaded, false otherwise
857
+ * \returns TRUE if the auxiliary layer is well loaded, FALSE otherwise
858
858
*
859
859
* \since QGIS 3.0
860
860
*/
@@ -891,7 +891,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
891
891
* \param errorMessage reference to string that will be updated with any error messages
892
892
* \param context reading context (used for transform from relative to absolute paths)
893
893
* \param categories the style categories to be read
894
- * \returns true in case of success.
894
+ * \returns TRUE in case of success.
895
895
*/
896
896
bool readSymbology ( const QDomNode &layerNode, QString &errorMessage,
897
897
QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories ) FINAL;
@@ -902,7 +902,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
902
902
* \param errorMessage reference to string that will be updated with any error messages
903
903
* \param context reading context (used for transform from relative to absolute paths)
904
904
* \param categories the style categories to be read
905
- * \returns true in case of success.
905
+ * \returns TRUE in case of success.
906
906
*/
907
907
bool readStyle ( const QDomNode &node, QString &errorMessage,
908
908
QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories ) FINAL;
@@ -914,7 +914,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
914
914
* \param errorMessage reference to string that will be updated with any error messages
915
915
* \param context writing context (used for transform from absolute to relative paths)
916
916
* \param categories the style categories to be written
917
- * \returns true in case of success.
917
+ * \returns TRUE in case of success.
918
918
*/
919
919
bool writeSymbology ( QDomNode &node, QDomDocument &doc, QString &errorMessage,
920
920
const QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories ) const FINAL;
@@ -926,7 +926,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
926
926
* \param errorMessage reference to string that will be updated with any error messages
927
927
* \param context writing context (used for transform from absolute to relative paths)
928
928
* \param categories the style categories to be written
929
- * \returns true in case of success.
929
+ * \returns TRUE in case of success.
930
930
*/
931
931
bool writeStyle ( QDomNode &node, QDomDocument &doc, QString &errorMessage,
932
932
const QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories ) const FINAL;
@@ -937,7 +937,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
937
937
* \param doc the document that will have the QDomNode added.
938
938
* \param errorMessage reference to string that will be updated with any error messages
939
939
* \param props a open ended set of properties that can drive/inform the SLD encoding
940
- * \returns true in case of success
940
+ * \returns TRUE in case of success
941
941
*/
942
942
bool writeSld ( QDomNode &node, QDomDocument &doc, QString &errorMessage, const QgsStringMap &props = QgsStringMap() ) const ;
943
943
@@ -968,7 +968,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
968
968
* \param dataSource new layer data source
969
969
* \param baseName base name of the layer
970
970
* \param provider provider string
971
- * \param loadDefaultStyleFlag set to true to reset the layer's style to the default for the
971
+ * \param loadDefaultStyleFlag set to TRUE to reset the layer's style to the default for the
972
972
* data source
973
973
* \since QGIS 2.10
974
974
* \deprecated Use version with ProviderOptions argument instead
@@ -982,7 +982,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
982
982
* \param baseName base name of the layer
983
983
* \param provider provider string
984
984
* \param options provider options
985
- * \param loadDefaultStyleFlag set to true to reset the layer's style to the default for the
985
+ * \param loadDefaultStyleFlag set to TRUE to reset the layer's style to the default for the
986
986
* data source
987
987
* \see dataSourceChanged()
988
988
* \since QGIS 3.2
@@ -1010,7 +1010,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1010
1010
* \param subset The subset string. This may be the where clause of a sql statement
1011
1011
* or other definition string specific to the underlying dataprovider
1012
1012
* and data store.
1013
- * \returns true , when setting the subset string was successful, false otherwise
1013
+ * \returns TRUE , when setting the subset string was successful, FALSE otherwise
1014
1014
*/
1015
1015
virtual bool setSubsetString ( const QString &subset );
1016
1016
@@ -1075,10 +1075,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1075
1075
* with matching QgsFeature::id() with the attributes and geometry from \a feature.
1076
1076
* Changes are not immediately committed to the layer.
1077
1077
*
1078
- * If \a skipDefaultValue is set to true , default field values will not
1078
+ * If \a skipDefaultValue is set to TRUE , default field values will not
1079
1079
* be updated. This can be used to override default field value expressions.
1080
1080
*
1081
- * Returns true if the feature's attribute was successfully changed.
1081
+ * Returns TRUE if the feature's attribute was successfully changed.
1082
1082
*
1083
1083
* \note Calls to updateFeature() are only valid for layers in which edits have been enabled
1084
1084
* by a call to startEditing(). Changes made to features using this method are not committed
@@ -1159,7 +1159,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1159
1159
1160
1160
/* *
1161
1161
* Deletes the selected features
1162
- * \returns true in case of success and false otherwise
1162
+ * \returns TRUE in case of success and FALSE otherwise
1163
1163
*/
1164
1164
bool deleteSelectedFeatures ( int *deletedCount = nullptr );
1165
1165
@@ -1266,7 +1266,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1266
1266
/* *
1267
1267
* Splits parts cut by the given line
1268
1268
* \param splitLine line that splits the layer features
1269
- * \param topologicalEditing true if topological editing is enabled
1269
+ * \param topologicalEditing TRUE if topological editing is enabled
1270
1270
* \returns QgsGeometry::OperationResult
1271
1271
* - Success
1272
1272
* - NothingHappened
@@ -1285,7 +1285,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1285
1285
/* *
1286
1286
* Splits features cut by the given line
1287
1287
* \param splitLine line that splits the layer features
1288
- * \param topologicalEditing true if topological editing is enabled
1288
+ * \param topologicalEditing TRUE if topological editing is enabled
1289
1289
* \returns QgsGeometry::OperationResult
1290
1290
* - Success
1291
1291
* - NothingHappened
@@ -1329,15 +1329,15 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1329
1329
1330
1330
/* *
1331
1331
* Access to const labeling configuration. May be null if labeling is not used.
1332
- * \note Labels will only be rendered if labelsEnabled() returns true .
1332
+ * \note Labels will only be rendered if labelsEnabled() returns TRUE .
1333
1333
* \see labelsEnabled()
1334
1334
* \since QGIS 3.0
1335
1335
*/
1336
1336
const QgsAbstractVectorLayerLabeling *labeling () const SIP_SKIP { return mLabeling ; }
1337
1337
1338
1338
/* *
1339
1339
* Access to labeling configuration. May be null if labeling is not used.
1340
- * \note Labels will only be rendered if labelsEnabled() returns true .
1340
+ * \note Labels will only be rendered if labelsEnabled() returns TRUE .
1341
1341
* \see labelsEnabled()
1342
1342
* \since QGIS 3.0
1343
1343
*/
@@ -1349,18 +1349,18 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1349
1349
*/
1350
1350
void setLabeling ( QgsAbstractVectorLayerLabeling *labeling SIP_TRANSFER );
1351
1351
1352
- // ! Returns true if the provider is in editing mode
1352
+ // ! Returns TRUE if the provider is in editing mode
1353
1353
bool isEditable () const FINAL;
1354
1354
1355
- // ! Returns true if this is a geometry layer and false in case of NoGeometry (table only) or UnknownGeometry
1355
+ // ! Returns TRUE if this is a geometry layer and FALSE in case of NoGeometry (table only) or UnknownGeometry
1356
1356
bool isSpatial () const FINAL;
1357
1357
1358
- // ! Returns true if the provider has been modified since the last commit
1358
+ // ! Returns TRUE if the provider has been modified since the last commit
1359
1359
virtual bool isModified () const ;
1360
1360
1361
1361
/* *
1362
- * Returns true if the field comes from the auxiliary layer,
1363
- * false otherwise.
1362
+ * Returns TRUE if the field comes from the auxiliary layer,
1363
+ * FALSE otherwise.
1364
1364
*
1365
1365
* \since QGIS 3.0
1366
1366
*/
@@ -1405,7 +1405,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1405
1405
1406
1406
/* *
1407
1407
* Make layer read-only (editing disabled) or not
1408
- * \returns false if the layer is in editing yet
1408
+ * \returns FALSE if the layer is in editing yet
1409
1409
*/
1410
1410
bool setReadOnly ( bool readonly = true );
1411
1411
@@ -1414,10 +1414,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1414
1414
* (but does not immediately commit the changes). The \a fid argument
1415
1415
* specifies the ID of the feature to be changed.
1416
1416
*
1417
- * If \a skipDefaultValue is set to true , default field values will not
1417
+ * If \a skipDefaultValue is set to TRUE , default field values will not
1418
1418
* be updated. This can be used to override default field value expressions.
1419
1419
*
1420
- * Returns true if the feature's geometry was successfully changed.
1420
+ * Returns TRUE if the feature's geometry was successfully changed.
1421
1421
*
1422
1422
* \note Calls to changeGeometry() are only valid for layers in which edits have been enabled
1423
1423
* by a call to startEditing(). Changes made to features using this method are not committed
@@ -1446,10 +1446,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1446
1446
* retrieved and used. Note that this involves a feature request to the underlying data provider,
1447
1447
* so it is more efficient to explicitly pass an \a oldValue if it is already available.
1448
1448
*
1449
- * If \a skipDefaultValues is set to true , default field values will not
1449
+ * If \a skipDefaultValues is set to TRUE , default field values will not
1450
1450
* be updated. This can be used to override default field value expressions.
1451
1451
*
1452
- * Returns true if the feature's attribute was successfully changed.
1452
+ * Returns TRUE if the feature's attribute was successfully changed.
1453
1453
*
1454
1454
* \note Calls to changeAttributeValue() are only valid for layers in which edits have been enabled
1455
1455
* by a call to startEditing(). Changes made to features using this method are not committed
@@ -1478,11 +1478,11 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1478
1478
* request to the underlying data provider, so it is more efficient to
1479
1479
* explicitly pass an oldValue if it is already available.
1480
1480
*
1481
- * If \a skipDefaultValues is set to true , default field values will not
1481
+ * If \a skipDefaultValues is set to TRUE , default field values will not
1482
1482
* be updated. This can be used to override default field value
1483
1483
* expressions.
1484
1484
*
1485
- * Returns true if feature's attributes was successfully changed.
1485
+ * Returns TRUE if feature's attributes was successfully changed.
1486
1486
*
1487
1487
* \note Calls to changeAttributeValues() are only valid for layers in
1488
1488
* which edits have been enabled by a call to startEditing(). Changes made
@@ -1502,7 +1502,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1502
1502
1503
1503
/* *
1504
1504
* Add an attribute field (but does not commit it)
1505
- * returns true if the field was added
1505
+ * returns TRUE if the field was added
1506
1506
*
1507
1507
* \note Calls to addAttribute() are only valid for layers in which edits have been enabled
1508
1508
* by a call to startEditing(). Changes made to features using this method are not committed
@@ -1585,7 +1585,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1585
1585
* Deletes a list of attribute fields (but does not commit it)
1586
1586
*
1587
1587
* \param attrs the indices of the attributes to delete
1588
- * \returns true if at least one attribute has been deleted
1588
+ * \returns TRUE if at least one attribute has been deleted
1589
1589
*
1590
1590
*/
1591
1591
bool deleteAttributes ( const QList<int > &attrs );
@@ -1606,7 +1606,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1606
1606
* Deletes a set of features from the layer (but does not commit it)
1607
1607
* \param fids The feature ids to delete
1608
1608
*
1609
- * \returns false if the layer is not in edit mode or does not support deleting
1609
+ * \returns FALSE if the layer is not in edit mode or does not support deleting
1610
1610
* in case of an active transaction depends on the provider implementation
1611
1611
*
1612
1612
* \note Calls to deleteFeatures() are only valid for layers in which edits have been enabled
@@ -1620,7 +1620,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1620
1620
* Attempts to commit to the underlying data provider any buffered changes made since the
1621
1621
* last to call to startEditing().
1622
1622
*
1623
- * Returns the result of the attempt. If a commit fails (i.e. false is returned), the
1623
+ * Returns the result of the attempt. If a commit fails (i.e. FALSE is returned), the
1624
1624
* in-memory changes are left untouched and are not discarded. This allows editing to
1625
1625
* continue if the commit failed on e.g. a disallowed value in a Postgres
1626
1626
* database - the user can re-edit and try again.
@@ -1648,7 +1648,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1648
1648
/* *
1649
1649
* Stops a current editing operation and discards any uncommitted edits.
1650
1650
*
1651
- * If \a deleteBuffer is true the editing buffer will be completely deleted (the default
1651
+ * If \a deleteBuffer is TRUE the editing buffer will be completely deleted (the default
1652
1652
* behavior).
1653
1653
*
1654
1654
* \see startEditing()
@@ -1882,7 +1882,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
1882
1882
* \param fieldOrExpression source field or expression to use as basis for aggregated values.
1883
1883
* \param parameters parameters controlling aggregate calculation
1884
1884
* \param context expression context for expressions and filters
1885
- * \param ok if specified, will be set to true if aggregate calculation was successful
1885
+ * \param ok if specified, will be set to TRUE if aggregate calculation was successful
1886
1886
* \returns calculated aggregate value
1887
1887
* \since QGIS 2.16
1888
1888
*/
@@ -2006,8 +2006,8 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2006
2006
void setReadExtentFromXml ( bool readExtentFromXml );
2007
2007
2008
2008
/* *
2009
- * Returns true if the extent is read from the XML document when data
2010
- * source has no metadata, false if it's the data provider which determines
2009
+ * Returns TRUE if the extent is read from the XML document when data
2010
+ * source has no metadata, FALSE if it's the data provider which determines
2011
2011
* it.
2012
2012
*
2013
2013
* \since QGIS 3.0
@@ -2029,15 +2029,15 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2029
2029
QgsGeometryOptions *geometryOptions () const ;
2030
2030
2031
2031
/* *
2032
- * Controls, if the layer is allowed to commit changes. If this is set to false
2032
+ * Controls, if the layer is allowed to commit changes. If this is set to FALSE
2033
2033
* it will not be possible to commit changes on this layer. This can be used to
2034
2034
* define checks on a layer that need to be pass before the layer can be saved.
2035
2035
* If you use this API, make sure that:
2036
2036
*
2037
2037
* - the user is visibly informed that his changes were not saved and what he needs
2038
2038
* to do in order to be able to save the changes.
2039
2039
*
2040
- * - to set the property back to true , once the user has fixed his data.
2040
+ * - to set the property back to TRUE , once the user has fixed his data.
2041
2041
*
2042
2042
* When calling \see commitChanges(), this flag is checked just after the
2043
2043
* \see beforeCommitChanges() signal is emitted, so it's possible to adjust it from there.
@@ -2049,15 +2049,15 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2049
2049
bool allowCommit () const SIP_SKIP;
2050
2050
2051
2051
/* *
2052
- * Controls, if the layer is allowed to commit changes. If this is set to false
2052
+ * Controls, if the layer is allowed to commit changes. If this is set to FALSE
2053
2053
* it will not be possible to commit changes on this layer. This can be used to
2054
2054
* define checks on a layer that need to be pass before the layer can be saved.
2055
2055
* If you use this API, make sure that:
2056
2056
*
2057
2057
* - the user is visibly informed that his changes were not saved and what he needs
2058
2058
* to do in order to be able to save the changes.
2059
2059
*
2060
- * - to set the property back to true , once the user has fixed his data.
2060
+ * - to set the property back to TRUE , once the user has fixed his data.
2061
2061
*
2062
2062
* When calling \see commitChanges(), this flag is checked just after the
2063
2063
* \see beforeCommitChanges() signal is emitted, so it's possible to adjust it from there.
@@ -2117,7 +2117,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2117
2117
* Update the extents for the layer. This is necessary if features are
2118
2118
* added/deleted or the layer has been subsetted.
2119
2119
*
2120
- * \param force true to update layer extent even if it's read from xml by default, false otherwise
2120
+ * \param force TRUE to update layer extent even if it's read from xml by default, FALSE otherwise
2121
2121
*/
2122
2122
virtual void updateExtents ( bool force = false );
2123
2123
@@ -2128,7 +2128,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2128
2128
* be made persistent until commitChanges() is called, and can be reverted by calling
2129
2129
* rollBack().
2130
2130
*
2131
- * Returns true if the layer was successfully made editable, or false if the operation
2131
+ * Returns TRUE if the layer was successfully made editable, or FALSE if the operation
2132
2132
* failed (e.g. due to an underlying read-only data source, or lack of edit support
2133
2133
* by the backend data provider).
2134
2134
*
@@ -2144,7 +2144,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2144
2144
*
2145
2145
* \param selected Newly selected feature ids
2146
2146
* \param deselected Ids of all features which have previously been selected but are not any more
2147
- * \param clearAndSelect In case this is set to true , the old selection was dismissed and the new selection corresponds to selected
2147
+ * \param clearAndSelect In case this is set to TRUE , the old selection was dismissed and the new selection corresponds to selected
2148
2148
*/
2149
2149
void selectionChanged ( const QgsFeatureIds &selected, const QgsFeatureIds &deselected, bool clearAndSelect );
2150
2150
@@ -2407,7 +2407,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
2407
2407
void updateDefaultValues ( QgsFeatureId fid, QgsFeature feature = QgsFeature() );
2408
2408
2409
2409
/* *
2410
- * Returns true if the provider is in read-only mode
2410
+ * Returns TRUE if the provider is in read-only mode
2411
2411
*/
2412
2412
bool isReadOnly () const FINAL;
2413
2413
0 commit comments