SVN_SILENT made messages (.desktop file)
[kdepim.git] / mailimporter / filter_kmail_maildir.h
blob1da6c41a3a134b076381204acb50e47dcf884dd7
1 /***************************************************************************
2 filter_kmail_maildir.h - Kmail maildir mail import
3 -------------------
4 begin : April 06 2005
5 copyright : (C) 2005 by Danny Kukawka
6 email : danny.kukawka@web.de
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 ***************************************************************************/
17 /* Copyright (c) 2012 Montel Laurent <montel@kde.org> */
19 #ifndef MAILIMPORTER_FILTER_KMAIL_MAILDIR_HXX
20 #define MAILIMPORTER_FILTER_KMAIL_MAILDIR_HXX
22 #include "filters.h"
23 /**
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
30 public:
31 explicit FilterKMail_maildir();
32 ~FilterKMail_maildir();
34 void import();
35 void importMails( const QString& maildir );
37 private:
38 void processDirectory( const QString& path);
40 void importDirContents(const QString&);
41 void importFiles(const QString&);
42 int mImportDirDone;
43 int mTotalDir;
47 #endif