File indexing completed on 2024-05-12 16:25:50

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