1 /***************************************************************************
2 filter_thunderbird.h - Thunderbird mail import
5 copyright : (C) 2005 by Danny Kukawka
6 email : danny.kukawka@web.de
7 ***************************************************************************/
8 /* Copyright (c) 2012 Montel Laurent <montel@kde.org> */
10 /***************************************************************************
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
17 ***************************************************************************/
19 #ifndef MAILIMPORTER_FILTER_THUNDERBIRD_HXX
20 #define MAILIMPORTER_FILTER_THUNDERBIRD_HXX
25 * Imports Thinderbird mail folder recursively, keeping the folder structure.
26 * @author Danny Kukawka
28 namespace MailImporter
{
29 class MAILIMPORTER_EXPORT FilterThunderbird
: public Filter
32 explicit FilterThunderbird();
36 void importMails( const QString
& maildir
);
38 static QString
defaultSettingsPath();
39 static QString
defaultProfile(QWidget
*parent
= 0);
40 static QMap
<QString
, QString
> listProfile(QString
¤tProfile
);
43 void importDirContents(const QString
&, const QString
&, const QString
&);
44 void importMBox(const QString
&, const QString
&, const QString
&);
45 bool excludeFiles( const QString
& file
);