#include </home/clem/local/src/opie/noncore/net/mail/libmailwrapper/genericwrapper.h>
Inheritance diagram for Genericwrapper:


Public Member Functions | |
| Genericwrapper () | |
| virtual | ~Genericwrapper () |
| virtual encodedString * | fetchDecodedPart (const RecMailP &mail, const RecPartP &part) |
| virtual encodedString * | fetchRawPart (const RecMailP &mail, const RecPartP &part) |
| virtual QString | fetchTextPart (const RecMailP &mail, const RecPartP &part) |
| virtual void | cleanMimeCache () |
| virtual int | deleteMbox (const Opie::Core::OSmartPointer< Folder > &) |
| virtual void | logout () |
| virtual void | storeMessage (const char *msg, size_t length, const QString &folder) |
Protected Member Functions | |
| RecBodyP | parseMail (mailmessage *msg) |
| QString | parseMailboxList (mailimf_mailbox_list *list) |
| QString | parseMailbox (mailimf_mailbox *box) |
| QString | parseGroup (mailimf_group *group) |
| QString | parseAddressList (mailimf_address_list *list) |
| void | traverseBody (RecBodyP &target, mailmessage *message, mailmime *mime, QValueList< int >recList, unsigned int current_rek=0, int current_count=1) |
| virtual void | parseList (QValueList< Opie::Core::OSmartPointer< RecMail > > &target, mailsession *session, const QString &mailbox, bool mbox_as_to=false) |
| QStringList | parseInreplies (mailimf_in_reply_to *in_replies) |
Static Protected Member Functions | |
| static void | fillSingleBody (RecPartP &target, mailmessage *message, mailmime *mime) |
| static void | fillParameters (RecPartP &target, clist *parameters) |
| static QString | getencoding (mailmime_mechanism *aEnc) |
Protected Attributes | |
| QString | msgTempName |
| unsigned int | last_msg_id |
| QMap< QString, encodedString * > | bodyCache |
| mailstorage * | m_storage |
| mailfolder * | m_folder |
|
|
Definition at line 10 of file genericwrapper.cpp. References bodyCache, QMap< Key, T >::clear(), m_folder, and m_storage. |
|
|
Definition at line 18 of file genericwrapper.cpp. References cleanMimeCache(), m_folder, and m_storage. |
|
|
Reimplemented from AbstractMail. Definition at line 354 of file genericwrapper.cpp. References QMap< Key, T >::begin(), bodyCache, QMap< Key, T >::clear(), QMap< Key, T >::end(), odebug, oendl, and t. Referenced by POP3wrapper::fetchBody(), NNTPwrapper::fetchBody(), and ~Genericwrapper(). |
|
|
Implements AbstractMail. Reimplemented in MBOXwrapper, and MHwrapper. Definition at line 41 of file genericwrapper.h. |
|
||||||||||||
|
Implements AbstractMail. Definition at line 330 of file genericwrapper.cpp. References bodyCache, AbstractMail::decode_String(), QMap< Key, T >::end(), QMap< Key, T >::find(), and t. Referenced by fetchTextPart(). |
|
||||||||||||
|
Implements AbstractMail. Definition at line 338 of file genericwrapper.cpp. References bodyCache, QMap< Key, T >::end(), QMap< Key, T >::find(), and t. |
|
||||||||||||
|
Implements AbstractMail. Definition at line 346 of file genericwrapper.cpp. References encodedString::Content(), fetchDecodedPart(), t, and text. |
|
||||||||||||
|
Definition at line 96 of file genericwrapper.cpp. Referenced by fillSingleBody(). |
|
||||||||||||||||
|
Definition at line 29 of file genericwrapper.cpp. References fillParameters(), getencoding(), NULL, and type. Referenced by traverseBody(). |
|
|
Definition at line 109 of file genericwrapper.cpp. Referenced by fillSingleBody(). |
|
|
Implements AbstractMail. Reimplemented in NNTPwrapper, and POP3wrapper. Definition at line 42 of file genericwrapper.h. |
|
|
Definition at line 247 of file genericwrapper.cpp. References QString::append(), NULL, odebug, oendl, parseGroup(), and parseMailbox(). Referenced by parseList(). |
|
|
Definition at line 278 of file genericwrapper.cpp. References QString::append(), NULL, and parseMailboxList(). Referenced by parseAddressList(). |
|
|
Definition at line 366 of file genericwrapper.cpp. References QValueList< T >::append(), QString::length(), NULL, and QString::remove(). Referenced by parseList(). |
|
||||||||||||||||||||
|
Definition at line 386 of file genericwrapper.cpp. References AbstractMail::convert_String(), QValueList< T >::count(), d, FLAG_SEEN, i, NULL, odebug, oendl, parseAddressList(), MailStatics::parseDateTime(), parseInreplies(), parseMailboxList(), QBitArray::setBit(), t, and text. Referenced by POP3wrapper::listMessages(), NNTPwrapper::listMessages(), MHwrapper::listMessages(), and MBOXwrapper::listMessages(). |
|
|
Definition at line 233 of file genericwrapper.cpp. References traverseBody(). Referenced by POP3wrapper::fetchBody(), NNTPwrapper::fetchBody(), MHwrapper::fetchBody(), and MBOXwrapper::fetchBody(). |
|
|
Definition at line 294 of file genericwrapper.cpp. References QString::append(), AbstractMail::convert_String(), and NULL. Referenced by parseAddressList(), and parseMailboxList(). |
|
|
Definition at line 310 of file genericwrapper.cpp. References QString::append(), NULL, and parseMailbox(). Referenced by parseGroup(), and parseList(). |
|
||||||||||||||||
|
Implements AbstractMail. Reimplemented in MBOXwrapper, and MHwrapper. Definition at line 43 of file genericwrapper.h. |
|
||||||||||||||||||||||||||||
|
Definition at line 139 of file genericwrapper.cpp. References QValueList< T >::append(), bodyCache, encodedString::Content(), data, AbstractMail::decode_String(), fillSingleBody(), AbstractMail::gen_attachment_id(), len, NULL, odebug, oendl, and encodedString::setContent(). Referenced by parseMail(). |
|
|
Definition at line 61 of file genericwrapper.h. Referenced by cleanMimeCache(), fetchDecodedPart(), fetchRawPart(), Genericwrapper(), and traverseBody(). |
|
|
Definition at line 60 of file genericwrapper.h. Referenced by POP3wrapper::fetchBody(), NNTPwrapper::fetchBody(), NNTPwrapper::NNTPwrapper(), and POP3wrapper::POP3wrapper(). |
|
|
Definition at line 63 of file genericwrapper.h. Referenced by Genericwrapper(), and ~Genericwrapper(). |
|
|
|
Definition at line 59 of file genericwrapper.h. Referenced by POP3wrapper::fetchBody(), NNTPwrapper::fetchBody(), NNTPwrapper::NNTPwrapper(), POP3wrapper::POP3wrapper(), NNTPwrapper::~NNTPwrapper(), and POP3wrapper::~POP3wrapper(). |
1.4.2