diff --git a/python/PyQt6/core/auto_generated/qgsmaplayermodel.sip.in b/python/PyQt6/core/auto_generated/qgsmaplayermodel.sip.in index 7180224a32ee..b1046c824824 100644 --- a/python/PyQt6/core/auto_generated/qgsmaplayermodel.sip.in +++ b/python/PyQt6/core/auto_generated/qgsmaplayermodel.sip.in @@ -127,7 +127,7 @@ Sets which layers are checked in the model. bool itemsCheckable() const; %Docstring -Returns if the items can be checked or not +Returns whether the items can be checked or not %End QModelIndex indexFromLayer( QgsMapLayer *layer ) const; diff --git a/python/core/auto_generated/qgsmaplayermodel.sip.in b/python/core/auto_generated/qgsmaplayermodel.sip.in index 34a272925f0f..9d8b1f43de8d 100644 --- a/python/core/auto_generated/qgsmaplayermodel.sip.in +++ b/python/core/auto_generated/qgsmaplayermodel.sip.in @@ -127,7 +127,7 @@ Sets which layers are checked in the model. bool itemsCheckable() const; %Docstring -Returns if the items can be checked or not +Returns whether the items can be checked or not %End QModelIndex indexFromLayer( QgsMapLayer *layer ) const; diff --git a/src/core/qgsmaplayermodel.h b/src/core/qgsmaplayermodel.h index 2f6a4d20a981..f4f0dc5931ad 100644 --- a/src/core/qgsmaplayermodel.h +++ b/src/core/qgsmaplayermodel.h @@ -148,7 +148,7 @@ class CORE_EXPORT QgsMapLayerModel : public QAbstractItemModel */ void setLayersChecked( const QList< QgsMapLayer * > &layers ); - //! Returns if the items can be checked or not + //! Returns whether the items can be checked or not bool itemsCheckable() const { return mItemCheckable; } /**