19#include "moc_qgsdbfilterproxymodel.cpp"
29 if ( !source_parent.isValid() )
36 return QSortFilterProxyModel::filterAcceptsRow( row, source_parent );
41 QSortFilterProxyModel::setFilterWildcard( pattern );
47#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
48 QSortFilterProxyModel::setFilterRegExp( pattern );
50 QSortFilterProxyModel::setFilterRegularExpression( pattern );
QgsDatabaseFilterProxyModel(QObject *parent=nullptr)
Constructor for QgsDatabaseFilterProxyModel.
bool filterAcceptsRow(int row, const QModelIndex &source_parent) const override
void _setFilterRegExp(const QString &pattern)
Calls QSortFilterProxyModel::setFilterRegExp and triggers update.
void _setFilterWildcard(const QString &pattern)
Calls QSortFilterProxyModel::setFilterWildcard and triggers update.