MailImporter

filterevolution_v3.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "filters.h"
10namespace MailImporter
11{
12class FilterEvolution_v3Private;
13/**
14 * @brief The FilterEvolution_v3 class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class MAILIMPORTER_EXPORT FilterEvolution_v3 : public Filter
18{
19public:
22
23 void import() override;
24 void importMails(const QString &maildir);
25 [[nodiscard]] static QString defaultSettingsPath();
26 [[nodiscard]] static QString isMailerFound();
27
28private:
29 void importDirContents(const QString &);
30 void importFiles(const QString &);
31 void processDirectory(const QString &path);
32
33 MailImporter::MessageStatus statusFromFile(const QString &filename);
34 std::unique_ptr<FilterEvolution_v3Private> const d;
35};
36}
The FilterEvolution_v3 class.
~FilterEvolution_v3() override
Destructor.
The Filter class.
Definition filters.h:29
The MessageStatus class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.