Diffstat (limited to 'noncore/net/mail/libmailwrapper/mhwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mhwrapper.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/mhwrapper.h b/noncore/net/mail/libmailwrapper/mhwrapper.h index 79dec30..b8e380c 100644 --- a/noncore/net/mail/libmailwrapper/mhwrapper.h +++ b/noncore/net/mail/libmailwrapper/mhwrapper.h | |||
@@ -5,12 +5,13 @@ | |||
5 | #include <qstring.h> | 5 | #include <qstring.h> |
6 | 6 | ||
7 | class RecMail; | 7 | class RecMail; |
8 | class RecBody; | 8 | class RecBody; |
9 | class encodedString; | 9 | class encodedString; |
10 | struct mailmbox_folder; | 10 | struct mailmbox_folder; |
11 | class OProcess; | ||
11 | 12 | ||
12 | class MHwrapper : public Genericwrapper | 13 | class MHwrapper : public Genericwrapper |
13 | { | 14 | { |
14 | Q_OBJECT | 15 | Q_OBJECT |
15 | public: | 16 | public: |
16 | MHwrapper(const QString & dir,const QString&name); | 17 | MHwrapper(const QString & dir,const QString&name); |
@@ -36,17 +37,23 @@ public: | |||
36 | virtual encodedString* fetchRawBody(const RecMail&mail); | 37 | virtual encodedString* fetchRawBody(const RecMail&mail); |
37 | virtual void deleteMails(const QString & FolderName,QList<RecMail> &target); | 38 | virtual void deleteMails(const QString & FolderName,QList<RecMail> &target); |
38 | virtual int deleteAllMail(const Folder*); | 39 | virtual int deleteAllMail(const Folder*); |
39 | virtual const QString&getType()const; | 40 | virtual const QString&getType()const; |
40 | virtual const QString&getName()const; | 41 | virtual const QString&getName()const; |
41 | 42 | ||
43 | public slots: | ||
44 | /* for deleting maildirs we are using a system call */ | ||
45 | virtual void oprocessStderr(OProcess*, char *buffer, int ); | ||
46 | virtual void processEnded(OProcess *); | ||
42 | protected: | 47 | protected: |
43 | QString buildPath(const QString&p); | 48 | QString buildPath(const QString&p); |
44 | QString MHPath; | 49 | QString MHPath; |
45 | QString MHName; | 50 | QString MHName; |
46 | static const QString wrapperType; | 51 | static const QString wrapperType; |
47 | 52 | ||
48 | void init_storage(); | 53 | void init_storage(); |
49 | void clean_storage(); | 54 | void clean_storage(); |
55 | |||
56 | bool removeMboxfailed; | ||
50 | }; | 57 | }; |
51 | 58 | ||
52 | #endif | 59 | #endif |