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

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 #include "libruqolacore_export.h"
0009 #include <QSortFilterProxyModel>
0010 
0011 class LIBRUQOLACORE_EXPORT EmoticonFilterProxyModel : public QSortFilterProxyModel
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit EmoticonFilterProxyModel(QObject *parent = nullptr);
0016     ~EmoticonFilterProxyModel() override;
0017 
0018 protected:
0019     [[nodiscard]] bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
0020 };