Mailcommon

favoritecollectionorderproxymodel.cpp
1 /*
2 
3  SPDX-FileCopyrightText: 2017 David Faure <[email protected]>
4 
5  SPDX-License-Identifier: GPL-2.0-or-later
6 */
7 
8 #include "favoritecollectionorderproxymodel.h"
9 #include "mailcommon_debug.h"
10 #include <Akonadi/Collection>
11 #include <Akonadi/EntityTreeModel>
12 
13 using namespace MailCommon;
14 
15 FavoriteCollectionOrderProxyModel::FavoriteCollectionOrderProxyModel(QObject *parent)
16  : EntityOrderProxyModel(parent)
17 {
18 }
19 
20 FavoriteCollectionOrderProxyModel::~FavoriteCollectionOrderProxyModel() = default;
21 
22 Akonadi::Collection FavoriteCollectionOrderProxyModel::parentCollection(const QModelIndex &index) const
23 {
24  Q_UNUSED(index)
25  return {};
26 }
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Sep 24 2022 03:58:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.