mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
rename QgsMapLayerComboBox::getFilters to filters
This commit is contained in:
parent
148021ca7e
commit
39650d518e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user