author | alwin <alwin> | 2004-01-08 12:26:29 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-08 12:26:29 (UTC) |
commit | b85bc4484bcc0a53557b4759c3e9e58dc9059138 (patch) (unidiff) | |
tree | 16fa84076bc8f2e3125db815db3c2628286e62f1 /noncore/net/mail/libmailwrapper/imapwrapper.h | |
parent | 3cb4363abdb17d2898b4792390672375ffcd2493 (diff) | |
download | opie-b85bc4484bcc0a53557b4759c3e9e58dc9059138.zip opie-b85bc4484bcc0a53557b4759c3e9e58dc9059138.tar.gz opie-b85bc4484bcc0a53557b4759c3e9e58dc9059138.tar.bz2 |
last selected mbox will hold so it will not called so often in outside loops
(it could cause segmentation faults, too - there is another bug in libetpan
I didn't found yet)
Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index 07c6210..99986c2 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h | |||
@@ -51,13 +51,14 @@ public: | |||
51 | protected: | 51 | protected: |
52 | RecMail*parse_list_result(mailimap_msg_att*); | 52 | RecMail*parse_list_result(mailimap_msg_att*); |
53 | void login(); | 53 | void login(); |
54 | 54 | ||
55 | virtual QString fetchTextPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc=""); | 55 | virtual QString fetchTextPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc=""); |
56 | virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList<int>&path,bool internal_call); | 56 | virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList<int>&path,bool internal_call); |
57 | 57 | int selectMbox(const QString&mbox); | |
58 | |||
58 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); | 59 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); |
59 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); | 60 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); |
60 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); | 61 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); |
61 | void fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*which); | 62 | void fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*which); |
62 | void fillMultiPart(RecPart&target_part,mailimap_body_type_mpart*which); | 63 | void fillMultiPart(RecPart&target_part,mailimap_body_type_mpart*which); |
63 | void traverseBody(const RecMail&mail,mailimap_body*body,RecBody&target_body,int current_recursion,QValueList<int>recList,int current_count=1); | 64 | void traverseBody(const RecMail&mail,mailimap_body*body,RecBody&target_body,int current_recursion,QValueList<int>recList,int current_count=1); |
@@ -66,9 +67,10 @@ protected: | |||
66 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); | 67 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); |
67 | static QStringList address_list_to_stringlist(clist*list); | 68 | static QStringList address_list_to_stringlist(clist*list); |
68 | 69 | ||
69 | 70 | ||
70 | IMAPaccount *account; | 71 | IMAPaccount *account; |
71 | mailimap *m_imap; | 72 | mailimap *m_imap; |
73 | QString m_Lastmbox; | ||
72 | }; | 74 | }; |
73 | 75 | ||
74 | #endif | 76 | #endif |