Warning, file /pim/mailcommon/src/folder/favoritecollectionorderproxymodel.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002 
0003   SPDX-FileCopyrightText: 2017 David Faure <faure@kde.org>
0004 
0005   SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #pragma once
0009 
0010 #include "mailcommon_export.h"
0011 #include <Akonadi/EntityOrderProxyModel>
0012 
0013 namespace MailCommon
0014 {
0015 /**
0016  * @brief The FavoriteCollectionOrderProxyModel class implements ordering of favorite collections.
0017  */
0018 class MAILCOMMON_EXPORT FavoriteCollectionOrderProxyModel : public Akonadi::EntityOrderProxyModel
0019 {
0020     Q_OBJECT
0021 public:
0022     explicit FavoriteCollectionOrderProxyModel(QObject *parent = nullptr);
0023     ~FavoriteCollectionOrderProxyModel() override;
0024 
0025 protected:
0026     [[nodiscard]] Akonadi::Collection parentCollection(const QModelIndex &index) const override;
0027 };
0028 }