french -> French
[kdepim.git] / mailimporter / filter_evolution_v2.h
blobfe1492bdee75a00722a876311c55647e218e28fc
1 /***************************************************************************
2 filter_evolution_v2.h - Evolution 2.0.x mail import
3 -------------------
4 begin : Januar 26 2005
5 copyright : (C) 2005 by Danny Kukawka <danny.kukawka@web.de>
6 (inspired and partly copied from filter_evolution)
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef MAILIMPORTER_FILTER_EVOLUTION_V2_HXX
19 #define MAILIMPORTER_FILTER_EVOLUTION_V2_HXX
21 #include "filters.h"
22 /**
23 * Imports Evolution v2.x mail folder recursively, keeping the folder structure.
24 * @author Danny Kukawka
27 namespace MailImporter {
28 class MAILIMPORTER_EXPORT FilterEvolution_v2 : public Filter
30 public:
31 explicit FilterEvolution_v2();
32 ~FilterEvolution_v2();
34 void import();
35 void importMails( const QString& maildir );
36 static QString defaultSettingsPath();
38 private:
39 void importDirContents(const QString&, const QString&, const QString&);
40 void importMBox(const QString&, const QString&, const QString&);
41 bool excludeFiles( const QString & file );
46 #endif