MailImporter

filterkmail_maildir.h
1/*
2 filterkmail_maildir.h - Kmail maildir mail import
3
4 SPDX-FileCopyrightText: 2005 Danny Kukawka <danny.kukawka@web.de>
5 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9
10#pragma once
11
12#include "filters.h"
13namespace MailImporter
14{
15class FilterKMail_maildirPrivate;
16/**
17 * Imports KMail mail folder with maildir format recursively, recreating the folder structure.
18 * @author Danny Kukawka
19 */
20class MAILIMPORTER_EXPORT FilterKMail_maildir : public Filter
21{
22public:
25
26 void import() override;
27 void importMails(const QString &maildir);
28
29private:
30 void processDirectory(const QString &path);
31
32 void importDirContents(const QString &);
33 void importFiles(const QString &);
34 std::unique_ptr<FilterKMail_maildirPrivate> const d;
35};
36}
Imports KMail mail folder with maildir format recursively, recreating the folder structure.
~FilterKMail_maildir() override
Destructor.
The Filter class.
Definition filters.h:29
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.