MailImporter

filterthebat.h
1/*
2 filterthebat.h - TheBat! 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"
13#include "mailimporter_export.h"
14namespace MailImporter
15{
16class FilterTheBatPrivate;
17/**
18 * Imports The Bat! mail folder recursively, recreating the folder structure.
19 * @author Danny Kukawka
20 */
21class MAILIMPORTER_EXPORT FilterTheBat : public Filter
22{
23public:
25 ~FilterTheBat() override;
26
27 void import() override;
28 void importMails(const QString &maildir);
29
30private:
31 MAILIMPORTER_NO_EXPORT void importDirContents(const QString &);
32 MAILIMPORTER_NO_EXPORT void importFiles(const QString &);
33 MAILIMPORTER_NO_EXPORT void processDirectory(const QString &path);
34 std::unique_ptr<FilterTheBatPrivate> const d;
35};
36}
Imports The Bat! mail folder recursively, recreating the folder structure.
~FilterTheBat() 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 Tue Mar 26 2024 11:17:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.