1 /***************************************************************************
2 filter_evolution_v2.h - Evolution 2.0.x mail import
5 copyright : (C) 2005 by Danny Kukawka <danny.kukawka@web.de>
6 (inspired and partly copied from filter_evolution)
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef MAILIMPORTER_FILTER_EVOLUTION_V2_HXX
19 #define MAILIMPORTER_FILTER_EVOLUTION_V2_HXX
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
31 explicit FilterEvolution_v2();
32 ~FilterEvolution_v2();
35 void importMails( const QString
& maildir
);
36 static QString
defaultSettingsPath();
39 void importDirContents(const QString
&, const QString
&, const QString
&);
40 void importMBox(const QString
&, const QString
&, const QString
&);
41 bool excludeFiles( const QString
& file
);