File indexing completed on 2024-04-28 04:49:02

0001 /*
0002    SPDX-FileCopyrightText: 2016 (c) Matthieu Gallien <matthieu_gallien@yahoo.fr>
0003    SPDX-FileCopyrightText: 2017 (c) Alexander Stippich <a.stippich@gmx.net>
0004 
0005    SPDX-License-Identifier: LGPL-3.0-or-later
0006  */
0007 
0008 #ifndef GRIDVIEWPROXYMODEL_H
0009 #define GRIDVIEWPROXYMODEL_H
0010 
0011 #include "elisaLib_export.h"
0012 
0013 #include "abstractmediaproxymodel.h"
0014 
0015 class ELISALIB_EXPORT GridViewProxyModel : public AbstractMediaProxyModel
0016 {
0017 
0018     Q_OBJECT
0019 
0020 public:
0021 
0022     explicit GridViewProxyModel(QObject *parent = nullptr);
0023 
0024     ~GridViewProxyModel() override;
0025 
0026 Q_SIGNALS:
0027 
0028 public Q_SLOTS:
0029 
0030 protected:
0031 
0032     [[nodiscard]] bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
0033 
0034 };
0035 
0036 #endif // GRIDVIEWPROXYMODEL_H