MailImporter

filteropera.h
1/*
2 filteropera.h - Opera mail import
3
4 SPDX-FileCopyrightText: 2005 Danny Kukawka <danny.kukawka@web.de>
5
6 SPDX-License-Identifier: GPL-2.0-or-later
7*/
8
9#pragma once
10
11#include "filters.h"
12#include <QDir>
13namespace MailImporter
14{
15/**
16 *imports opera account-archives into KMail
17 *@author Danny Kukawka
18 */
19class MAILIMPORTER_EXPORT FilterOpera : public Filter
20{
21public:
23 ~FilterOpera() override;
24
25 void import() override;
26 void importMails(const QString &maildir);
27 [[nodiscard]] static QString defaultSettingsPath();
28 [[nodiscard]] static QString isMailerFound();
29
30private:
31 MAILIMPORTER_NO_EXPORT void importBox(const QDir &importDir, const QStringList &, const QString &accountName = QString());
32 MAILIMPORTER_NO_EXPORT void importRecursive(const QDir &maildir, const QString &accountName = QString());
33};
34}
imports opera account-archives into KMail
Definition filteropera.h:20
The Filter class.
Definition filters.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.