MailImporter

filterseamonkey.cpp
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "filterseamonkey.h"
8#include <KLocalizedString>
9using namespace MailImporter;
10
11FilterSeaMonkey::FilterSeaMonkey()
13{
14 setName(i18n("Import SeaMonkey Mails and Folder Structure"));
15 setAuthor(QStringLiteral("Laurent Montel"));
16 setInfo(
17 i18n("<p><b>SeaMonkey import filter</b></p>"
18 "<p>Select your base SeaMonkey mailfolder"
19 " (usually ~/.icedove/*.default/Mail/Local Folders/).</p>"
20 "<p><b>Note:</b> Never choose a Folder which <u>does not</u> contain mbox-files (for example,"
21 " a maildir): if you do, you will get many new folders.</p>"
22 "<p>Since it is possible to recreate the folder structure, the folders "
23 "will be stored under: \"SeaMonkey-Import\".</p>"));
24}
25
26FilterSeaMonkey::~FilterSeaMonkey()
27{
28}
29
30QString FilterSeaMonkey::settingsPath()
31{
32 return FilterSeaMonkey::defaultSettingsPath();
33}
34
35QString FilterSeaMonkey::defaultSettingsPath()
36{
37 return QDir::homePath() + QLatin1StringView("/.mozilla/seamonkey");
38}
39
40QString FilterSeaMonkey::defaultInstallFolder() const
41{
42 return QStringLiteral("SeaMonkey-Import/");
43}
Imports Thunderbird mail folder recursively, keeping the folder structure.
QString i18n(const char *text, const TYPE &arg...)
QString homePath()
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.