File indexing completed on 2024-11-10 07:56:44
0001 // SPDX-FileCopyrightText: 2020 Carl Schwan <carlschwan@kde.org> 0002 // SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org> 0003 // SPDX-License-Identifier: GPL-3.0-or-later 0004 0005 #include "raven.h" 0006 0007 #include "mailmodel.h" 0008 #include "accounts/ispdb/ispdb.h" 0009 0010 #include <QtCore/QItemSelectionModel> 0011 #include <QTimer> 0012 #include <QApplication> 0013 0014 // Akonadi 0015 #include <Akonadi/CollectionFilterProxyModel> 0016 #include <Akonadi/ItemFetchScope> 0017 #include <Akonadi/Monitor> 0018 #include <Akonadi/Session> 0019 #include <Akonadi/ChangeRecorder> 0020 #include <Akonadi/EntityMimeTypeFilterModel> 0021 #include <Akonadi/EntityTreeModel> 0022 #include <Akonadi/ServerManager> 0023 #include <Akonadi/SelectionProxyModel> 0024 0025 #include <MailCommon/FolderCollectionMonitor> 0026 0027 #include <KMime/Message> 0028 0029 #include <KDescendantsProxyModel> 0030 0031 #include <KItemModels/KDescendantsProxyModel> 0032 0033 Raven::Raven(QObject *parent) 0034 : QObject(parent) 0035 { 0036 } 0037 0038 Raven *Raven::self() 0039 { 0040 static Raven *instance = new Raven(); 0041 return instance; 0042 }