Skip to content
Permalink
Browse files

extentsChanged deprecated as reloadVisible (private)

  • Loading branch information
signedav committed Mar 18, 2020
1 parent 8562f78 commit 7c541948f5c29850fabe7e0b0ae8c9131704c107
@@ -242,11 +242,13 @@ selection state of the feature in case selected features are to be shown on top.

public slots:

void reloadVisible();
void extentsChanged();
%Docstring
Is called upon every change of the visible extents on the map canvas or when data of
the master table model change.
Is called upon every change of the visible extents on the map canvas.
When a change is signalled, the filter is updated and invalidated if needed.

.. deprecated:: QGIS 3.10.3
- made private as reloadVisible()
%End

void filterFeatures();
@@ -389,6 +389,11 @@ bool QgsAttributeTableFilterModel::filterAcceptsRow( int sourceRow, const QModel
// returns are handled in their respective case statement above
}

void QgsAttributeTableFilterModel::extentsChanged()
{
reloadVisible();
}

void QgsAttributeTableFilterModel::reloadVisible()
{
generateListOfVisibleFeatures();
@@ -263,11 +263,12 @@ class GUI_EXPORT QgsAttributeTableFilterModel: public QSortFilterProxyModel, pub
public slots:

/**
* Is called upon every change of the visible extents on the map canvas or when data of
* the master table model change.
* Is called upon every change of the visible extents on the map canvas.
* When a change is signalled, the filter is updated and invalidated if needed.
*
* \deprecated since QGIS 3.10.3 - made private as reloadVisible()
*/
void reloadVisible();
Q_DECL_DEPRECATED void extentsChanged();

/**
* Updates the filtered features in the filter model. It is called when the data of the
@@ -280,6 +281,7 @@ class GUI_EXPORT QgsAttributeTableFilterModel: public QSortFilterProxyModel, pub
private slots:
void selectionChanged();
void onColumnsChanged();
void reloadVisible();

private:
QgsFeatureIds mFilteredFeatures;

0 comments on commit 7c54194

Please sign in to comment.
You can’t perform that action at this time.