SVN_SILENT made messages (.desktop file)
[kdepim.git] / mailimporter / filter_evolution.h
blob8408dd5f2c56e44bd7ff312de0699db955d2953a
1 /*
2 * filter_evolution.h
3 * Author : Simon MARTIN <simartin@users.sourceforge.net>
4 * Copyright (c) 2004 Simon MARTIN <simartin@users.sourceforge.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Library General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef MAILIMPORTER_FILTER_EVOLUTION_HXX
22 #define MAILIMPORTER_FILTER_EVOLUTION_HXX
24 #include "filters.h"
25 /**
26 * Imports Evolution mboxes recursively, keeping the folder structure.
27 * @author Simon MARTIN
29 namespace MailImporter
31 class MAILIMPORTER_EXPORT FilterEvolution : public Filter
33 public:
34 explicit FilterEvolution();
35 ~FilterEvolution();
37 void import();
38 void importMails(const QString &maildir);
39 static QString defaultSettingsPath();
40 private:
41 void importDirContents(const QString &, const QString &, const QString &);
42 void importMBox(const QString &, const QString &, const QString &);
46 #endif