7#include "filtericedove.h"
8#include <KLocalizedString>
9using namespace MailImporter;
11FilterIcedove::FilterIcedove()
14 setName(
i18n(
"Import Icedove Mails and Folder Structure"));
15 setAuthor(QStringLiteral(
"Laurent Montel"));
17 i18n(
"<p><b>Icedove import filter</b></p>"
18 "<p>Select your base Icedove 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: \"Icedove-Import\".</p>"));
26FilterIcedove::~FilterIcedove()
30QString FilterIcedove::isMailerFound()
32 QDir directory(FilterIcedove::defaultSettingsPath());
33 if (directory.exists()) {
34 return i18nc(
"name of icedove application",
"Icedove");
39QString FilterIcedove::settingsPath()
41 return FilterIcedove::defaultSettingsPath();
44QString FilterIcedove::defaultSettingsPath()
49QString FilterIcedove::defaultInstallFolder()
const
51 return QStringLiteral(
"Icedove-Import/");
Imports Thunderbird mail folder recursively, keeping the folder structure.
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:08:02 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.