Skip to content
Permalink
Browse files
rename QgsMapLayerComboBox::getFilters to filters
  • Loading branch information
3nids committed May 12, 2014
1 parent 148021c commit 39650d518ed01cbe07e3d7ee6132fb54d88ae6e4
Showing with 3 additions and 3 deletions.
  1. +1 −1 python/gui/qgsmaplayercombobox.sip
  2. +2 −2 src/gui/qgsmaplayercombobox.h
@@ -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();
@@ -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();

0 comments on commit 39650d5

Please sign in to comment.