diff --git a/python/gui/qgsmaplayercombobox.sip b/python/gui/qgsmaplayercombobox.sip index 52efe0258f8..5a79f59242b 100644 --- a/python/gui/qgsmaplayercombobox.sip +++ b/python/gui/qgsmaplayercombobox.sip @@ -20,7 +20,7 @@ class QgsMapLayerComboBox : QComboBox void setFilters( QgsMapLayerProxyModel::Filters filters ); //! currently used filter on list layers - QgsMapLayerProxyModel::Filters getFilters(); + QgsMapLayerProxyModel::Filters filters(); ///! currentLayer returns the current layer selected in the combo box QgsMapLayer* currentLayer(); diff --git a/src/gui/qgsmaplayercombobox.h b/src/gui/qgsmaplayercombobox.h index 7e3e14168a2..483a6499efa 100644 --- a/src/gui/qgsmaplayercombobox.h +++ b/src/gui/qgsmaplayercombobox.h @@ -31,7 +31,7 @@ class GUI_EXPORT QgsMapLayerComboBox : public QComboBox { Q_OBJECT Q_FLAGS( QgsMapLayerProxyModel::Filters ) - Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ getFilters WRITE setFilters ) + Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ filters WRITE setFilters ) public: /** @@ -44,7 +44,7 @@ class GUI_EXPORT QgsMapLayerComboBox : public QComboBox void setFilters( QgsMapLayerProxyModel::Filters filters ); //! currently used filter on list layers - QgsMapLayerProxyModel::Filters getFilters() {return mProxyModel->filters();} + QgsMapLayerProxyModel::Filters filters() {return mProxyModel->filters();} //! currentLayer returns the current layer selected in the combo box QgsMapLayer* currentLayer();