SVN_SILENT made messages (.desktop file)
[kdepim.git] / mailimporter / filter_thunderbird.h
blob72d5d95b60b92b571eacc1532457108c48beb79b
1 /***************************************************************************
2 filter_thunderbird.h - Thunderbird mail import
3 -------------------
4 begin : Januar 26 2005
5 copyright : (C) 2005 by Danny Kukawka
6 email : danny.kukawka@web.de
7 ***************************************************************************/
8 /* Copyright (c) 2012 Montel Laurent <montel@kde.org> */
10 /***************************************************************************
11 * *
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. *
16 * *
17 ***************************************************************************/
19 #ifndef MAILIMPORTER_FILTER_THUNDERBIRD_HXX
20 #define MAILIMPORTER_FILTER_THUNDERBIRD_HXX
22 #include "filters.h"
24 /**
25 * Imports Thinderbird mail folder recursively, keeping the folder structure.
26 * @author Danny Kukawka
28 namespace MailImporter {
29 class MAILIMPORTER_EXPORT FilterThunderbird : public Filter
31 public:
32 explicit FilterThunderbird();
33 ~FilterThunderbird();
35 void import();
36 void importMails( const QString & maildir );
38 static QString defaultSettingsPath();
39 static QString defaultProfile(QWidget *parent = 0);
40 static QMap<QString, QString> listProfile(QString&currentProfile);
42 private:
43 void importDirContents(const QString&, const QString&, const QString&);
44 void importMBox(const QString&, const QString&, const QString&);
45 bool excludeFiles( const QString & file );
49 #endif