summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_mailapp.hxx
blob: 83ad1937c885441c7ee7e007cdd984c5b2e615e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************
                          filter_mailapp.hxx  -  OS X Mail App import
                             -------------------
    copyright            : (C) 2004 by Chris Howells
    email                : howells@kde.org
 
    Derived from code by:
    copyright            : (C) 2003 by Laurence Anderson
    email                : l.d.anderson@warwick.ac.uk
 
 ***************************************************************************/

#ifndef FILTER_MAILAPP_HXX
#define FILTER_MAILAPP_HXX

#include "filters.hxx"

/**
 *imports mbox archives messages into KMail
 *@author Chris Howells
 */

class FilterMailApp : public Filter
{
public:
    FilterMailApp();
    ~FilterMailApp();

    void import(FilterInfo *info);

private:
    QStringList mMboxFiles;
    void traverseDirectory(FilterInfo *info, const QString &);
};

#endif