Add another crash guard, should cover Andy's LDAP crashes.
[kdepim.git] / kmailcvt / filter_kmail_maildir.hxx
blobdfe223dafa949a7096f679403b98d0305fbf62fe
1 /***************************************************************************
2 filter_kmail_maildir.hxx - 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 #ifndef FILTER_KMAIL_MAILDIR_HXX
18 #define FILTER_KMAIL_MAILDIR_HXX
20 #include "filters.hxx"
22 /**
23 * Imports KMail mail folder with maildir format recursively, recreating the folder structure.
24 * @author Danny Kukawka
26 class FilterKMail_maildir : public Filter
28 public:
29 FilterKMail_maildir(void);
30 ~FilterKMail_maildir(void);
32 void import(FilterInfo *info);
34 private:
35 QString mailDir;
37 void importDirContents(FilterInfo*, const QString&);
38 void importFiles(FilterInfo*, const QString&);
41 #endif