Skip to content

Commit

Permalink
rename QgsMapLayerComboBox::getFilters to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 12, 2014
1 parent 148021c commit 39650d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/gui/qgsmaplayercombobox.sip
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsmaplayercombobox.h
Expand Up @@ -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:
/**
Expand All @@ -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();
Expand Down

0 comments on commit 39650d5

Please sign in to comment.