1 /***************************************************************************
2 filter_kmail_maildir.h - Kmail maildir mail import
5 copyright : (C) 2005 by Danny Kukawka
6 email : danny.kukawka@web.de
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 ***************************************************************************/
17 /* Copyright (c) 2012 Montel Laurent <montel@kde.org> */
19 #ifndef MAILIMPORTER_FILTER_KMAIL_MAILDIR_HXX
20 #define MAILIMPORTER_FILTER_KMAIL_MAILDIR_HXX
24 * Imports KMail mail folder with maildir format recursively, recreating the folder structure.
25 * @author Danny Kukawka
27 namespace MailImporter
{
28 class MAILIMPORTER_EXPORT FilterKMail_maildir
: public Filter
31 explicit FilterKMail_maildir();
32 ~FilterKMail_maildir();
35 void importMails( const QString
& maildir
);
38 void processDirectory( const QString
& path
);
40 void importDirContents(const QString
&);
41 void importFiles(const QString
&);