Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index f809edb..5ea45f3 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h | |||
@@ -16,33 +16,34 @@ class RecBody; | |||
16 | class RecPart; | 16 | class RecPart; |
17 | 17 | ||
18 | class IMAPwrapper : public QObject | 18 | class IMAPwrapper : public QObject |
19 | { | 19 | { |
20 | Q_OBJECT | 20 | Q_OBJECT |
21 | 21 | ||
22 | public: | 22 | public: |
23 | IMAPwrapper( IMAPaccount *a ); | 23 | IMAPwrapper( IMAPaccount *a ); |
24 | virtual ~IMAPwrapper(); | 24 | virtual ~IMAPwrapper(); |
25 | QList<IMAPFolder>* listFolders(); | 25 | QList<IMAPFolder>* listFolders(); |
26 | void listMessages(const QString & mailbox,QList<RecMail>&target ); | 26 | void listMessages(const QString & mailbox,QList<RecMail>&target ); |
27 | RecBody fetchBody(const RecMail&mail); | 27 | RecBody fetchBody(const RecMail&mail); |
28 | QString fetchPart(const RecMail&mail,QValueList<int>&path,bool internal_call=false); | ||
28 | static void imap_progress( size_t current, size_t maximum ); | 29 | static void imap_progress( size_t current, size_t maximum ); |
29 | 30 | ||
30 | protected: | 31 | protected: |
31 | RecMail*parse_list_result(mailimap_msg_att*); | 32 | RecMail*parse_list_result(mailimap_msg_att*); |
32 | void login(); | 33 | void login(); |
33 | void logout(); | 34 | void logout(); |
34 | 35 | ||
35 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); | 36 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); |
36 | void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion); | 37 | void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion=0,QValueList<int>recList=QValueList<int>()); |
37 | 38 | ||
38 | void fillPlainBody(const RecMail&mail,RecBody&target_body); | 39 | void fillPlainBody(const RecMail&mail,RecBody&target_body); |
39 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); | 40 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); |
40 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); | 41 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); |
41 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); | 42 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); |
42 | 43 | ||
43 | /* just helpers */ | 44 | /* just helpers */ |
44 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); | 45 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); |
45 | static QStringList address_list_to_stringlist(clist*list); | 46 | static QStringList address_list_to_stringlist(clist*list); |
46 | 47 | ||
47 | private: | 48 | private: |
48 | IMAPaccount *account; | 49 | IMAPaccount *account; |