File indexing completed on 2024-12-08 04:34:21

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "model/sortfilterproxymodelbase.h"
0009 
0010 class ExplorePermissionsWidgetFilterProxyModel : public SortFilterProxyModelBase
0011 {
0012     Q_OBJECT
0013 public:
0014     explicit ExplorePermissionsWidgetFilterProxyModel(QObject *parent = nullptr);
0015     ~ExplorePermissionsWidgetFilterProxyModel() override;
0016 
0017 protected:
0018     [[nodiscard]] bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
0019 };