Skip to content

Commit 39650d5

Browse files
committed
rename QgsMapLayerComboBox::getFilters to filters
1 parent 148021c commit 39650d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/gui/qgsmaplayercombobox.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class QgsMapLayerComboBox : QComboBox
2020
void setFilters( QgsMapLayerProxyModel::Filters filters );
2121

2222
//! currently used filter on list layers
23-
QgsMapLayerProxyModel::Filters getFilters();
23+
QgsMapLayerProxyModel::Filters filters();
2424

2525
///! currentLayer returns the current layer selected in the combo box
2626
QgsMapLayer* currentLayer();

src/gui/qgsmaplayercombobox.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class GUI_EXPORT QgsMapLayerComboBox : public QComboBox
3131
{
3232
Q_OBJECT
3333
Q_FLAGS( QgsMapLayerProxyModel::Filters )
34-
Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ getFilters WRITE setFilters )
34+
Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ filters WRITE setFilters )
3535

3636
public:
3737
/**
@@ -44,7 +44,7 @@ class GUI_EXPORT QgsMapLayerComboBox : public QComboBox
4444
void setFilters( QgsMapLayerProxyModel::Filters filters );
4545

4646
//! currently used filter on list layers
47-
QgsMapLayerProxyModel::Filters getFilters() {return mProxyModel->filters();}
47+
QgsMapLayerProxyModel::Filters filters() {return mProxyModel->filters();}
4848

4949
//! currentLayer returns the current layer selected in the combo box
5050
QgsMapLayer* currentLayer();

0 commit comments

Comments
 (0)