New Appointment -> New Task
[kdepim.git] / kmailcvt / filter_sylpheed.hxx
blob6b62ac15ba56e5c4bba98dfd28df388ad6898c19
1 /***************************************************************************
2 filter_sylpheed.hxx - Sylpheed maildir mail import
3 -------------------
4 begin : April 07 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_SYLPHEED_HXX
18 #define FILTER_SYLPHEED_HXX
20 #include <QHash>
22 #include "filters.hxx"
24 /**
25 * Imports Sylpheed mail folder with maildir format recursively, recreating the folder structure.
26 * @author Danny Kukawka
28 class FilterSylpheed : public Filter
31 public:
32 FilterSylpheed(void);
33 ~FilterSylpheed(void);
35 void import(FilterInfo *info);
37 private:
38 QString mailDir;
40 void importDirContents(FilterInfo*, const QString&);
41 void importFiles(FilterInfo*, const QString&);
43 void readMarkFile( FilterInfo*, const QString&, QHash<QString,unsigned long>&);
44 QString msgFlagsToString(unsigned long);
47 #endif