MailImporter

filterevolution.h
1/*
2 SPDX-FileCopyrightText: 2004 Simon MARTIN <simartin@users.sourceforge.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "filters.h"
10namespace MailImporter
11{
12/**
13 * Imports Evolution mboxes recursively, keeping the folder structure.
14 * @author Simon MARTIN
15 */
16class MAILIMPORTER_EXPORT FilterEvolution : public Filter
17{
18public:
20 ~FilterEvolution() override;
21
22 void import() override;
23 void importMails(const QString &maildir);
24 [[nodiscard]] static QString defaultSettingsPath();
25 [[nodiscard]] static QString isMailerFound();
26
27private:
28 void importDirContents(const QString &, const QString &, const QString &);
29 void importMBox(const QString &, const QString &, const QString &);
30};
31}
Imports Evolution mboxes recursively, keeping the folder structure.
The Filter class.
Definition filters.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:54:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.