summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_mailapp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'kmailcvt/filter_mailapp.hxx')
-rw-r--r--kmailcvt/filter_mailapp.hxx36
1 files changed, 36 insertions, 0 deletions
diff --git a/kmailcvt/filter_mailapp.hxx b/kmailcvt/filter_mailapp.hxx
new file mode 100644
index 00000000..83ad1937
--- /dev/null
+++ b/kmailcvt/filter_mailapp.hxx
@@ -0,0 +1,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