File indexing completed on 2024-02-25 16:44:40

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "libruqolacore_export.h"
0010 #include <QSortFilterProxyModel>
0011 class LIBRUQOLACORE_EXPORT SearchTreeBaseFilterProxyModel : public QSortFilterProxyModel
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit SearchTreeBaseFilterProxyModel(QAbstractListModel *model = nullptr, QObject *parent = nullptr);
0016     ~SearchTreeBaseFilterProxyModel() override;
0017 
0018     void setFilterString(const QString &string);
0019     void clearFilter();
0020 };