Warning, file /network/ruqola/src/core/model/personalaccesstokeninfosfilterproxymodel.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2022-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 0012 class LIBRUQOLACORE_EXPORT PersonalAccessTokenInfosFilterProxyModel : public QSortFilterProxyModel 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit PersonalAccessTokenInfosFilterProxyModel(QObject *parent = nullptr); 0017 ~PersonalAccessTokenInfosFilterProxyModel() override; 0018 0019 void setFilterString(const QString &string); 0020 void clearFilter(); 0021 0022 protected: 0023 [[nodiscard]] bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; 0024 };