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

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 #include "libruqolacore_export.h"
0009 #include <QSortFilterProxyModel>
0010 
0011 class LIBRUQOLACORE_EXPORT SortFilterProxyModelBase : public QSortFilterProxyModel
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit SortFilterProxyModelBase(QObject *parent = nullptr);
0016     ~SortFilterProxyModelBase() override;
0017 
0018     void setFilterString(const QString &string);
0019 
0020 protected:
0021     QString mFilterString;
0022 };