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


Public Member Functions | |
| IMAPwrapper (IMAPaccount *a) | |
| virtual | ~IMAPwrapper () |
| virtual QValueList< Opie::Core::OSmartPointer< Folder > > * | listFolders () |
| virtual void | listMessages (const QString &mailbox, QValueList< Opie::Core::OSmartPointer< RecMail > > &target) |
| virtual void | statusFolder (folderStat &target_stat, const QString &mailbox="INBOX") |
| virtual void | deleteMail (const RecMailP &mail) |
| virtual void | answeredMail (const RecMailP &mail) |
| virtual int | deleteAllMail (const Opie::Core::OSmartPointer< Folder > &folder) |
| virtual void | storeMessage (const char *msg, size_t length, const QString &folder) |
| virtual void | mvcpAllMails (const Opie::Core::OSmartPointer< Folder > &fromFolder, const QString &targetFolder, AbstractMail *targetWrapper, bool moveit) |
| virtual void | mvcpMail (const RecMailP &mail, const QString &targetFolder, AbstractMail *targetWrapper, bool moveit) |
| virtual RecBodyP | fetchBody (const RecMailP &mail) |
| virtual QString | fetchTextPart (const RecMailP &mail, const RecPartP &part) |
| virtual encodedString * | fetchDecodedPart (const RecMailP &mail, const RecPartP &part) |
| virtual encodedString * | fetchRawPart (const RecMailP &mail, const RecPartP &part) |
| virtual encodedString * | fetchRawBody (const RecMailP &mail) |
| virtual int | createMbox (const QString &, const Opie::Core::OSmartPointer< Folder > &parentfolder=0, const QString &delemiter="/", bool getsubfolder=false) |
| virtual int | deleteMbox (const Opie::Core::OSmartPointer< Folder > &folder) |
| virtual void | logout () |
| virtual MAILLIB::ATYPE | getType () const |
| virtual const QString & | getName () const |
Static Public Member Functions | |
| static void | imap_progress (size_t current, size_t maximum) |
Protected Member Functions | |
| RecMail * | parse_list_result (mailimap_msg_att *) |
| void | login () |
| bool | start_tls (bool force=true) |
| virtual QString | fetchTextPart (const RecMailP &mail, const QValueList< int > &path, bool internal_call=false, const QString &enc="") |
| virtual encodedString * | fetchRawPart (const RecMailP &mail, const QValueList< int > &path, bool internal_call) |
| int | selectMbox (const QString &mbox) |
| void | fillSinglePart (RecPartP &target_part, mailimap_body_type_1part *Description) |
| void | fillSingleTextPart (RecPartP &target_part, mailimap_body_type_text *which) |
| void | fillSingleBasicPart (RecPartP &target_part, mailimap_body_type_basic *which) |
| void | fillSingleMsgPart (RecPartP &target_part, mailimap_body_type_msg *which) |
| void | fillMultiPart (RecPartP &target_part, mailimap_body_type_mpart *which) |
| void | traverseBody (const RecMailP &mail, mailimap_body *body, RecBodyP &target_body, int current_recursion, QValueList< int >recList, int current_count=1) |
Static Protected Member Functions | |
| static void | fillBodyFields (RecPartP &target_part, mailimap_body_fields *which) |
| static QStringList | address_list_to_stringlist (clist *list) |
Protected Attributes | |
| IMAPaccount * | account |
| mailimap * | m_imap |
| QString | m_Lastmbox |
|
|
Definition at line 12 of file imapwrapper.cpp. References account, m_imap, and m_Lastmbox. |
|
|
Definition at line 20 of file imapwrapper.cpp. References logout(). |
|
|
Definition at line 535 of file imapwrapper.cpp. References QValueList< T >::append(), AbstractMail::convert_String(), QString::data(), l, and NULL. Referenced by parse_list_result(). |
|
|
Implements AbstractMail. Definition at line 912 of file imapwrapper.cpp. References login(), m_imap, odebug, oendl, and selectMbox(). |
|
||||||||||||||||||||
|
Reimplemented from AbstractMail. |
|
|
Implements AbstractMail. |
|
|
Implements AbstractMail. Definition at line 877 of file imapwrapper.cpp. References login(), m_imap, odebug, oendl, and selectMbox(). Referenced by mvcpMail(). |
|
|
Implements AbstractMail. |
|
|
Implements AbstractMail. Definition at line 490 of file imapwrapper.cpp. References login(), m_imap, odebug, oendl, selectMbox(), and traverseBody(). |
|
||||||||||||
|
Implements AbstractMail. Definition at line 960 of file imapwrapper.cpp. References AbstractMail::decode_String(), and fetchRawPart(). |
|
|
Implements AbstractMail. Definition at line 1122 of file imapwrapper.cpp. References fetchRawPart(). |
|
||||||||||||||||
|
Definition at line 576 of file imapwrapper.cpp. References QValueList< T >::count(), login(), m_imap, NULL, odebug, oendl, selectMbox(), encodedString::setContent(), and text. |
|
||||||||||||
|
Implements AbstractMail. Definition at line 968 of file imapwrapper.cpp. Referenced by fetchDecodedPart(), fetchRawBody(), and fetchTextPart(). |
|
||||||||||||||||||||
|
Definition at line 940 of file imapwrapper.cpp. References encodedString::Content(), AbstractMail::decode_String(), fetchRawPart(), and encodedString::Length(). |
|
||||||||||||
|
Implements AbstractMail. Definition at line 955 of file imapwrapper.cpp. Referenced by traverseBody(). |
|
||||||||||||
|
Definition at line 830 of file imapwrapper.cpp. References encoding, NULL, and t. Referenced by fillSingleBasicPart(), fillSingleMsgPart(), and fillSingleTextPart(). |
|
||||||||||||
|
Definition at line 771 of file imapwrapper.cpp. References QString::lower(), and NULL. Referenced by traverseBody(). |
|
||||||||||||
|
Definition at line 788 of file imapwrapper.cpp. References fillBodyFields(), QString::latin1(), QString::lower(), odebug, oendl, and type. Referenced by fillSinglePart(). |
|
||||||||||||
|
Definition at line 759 of file imapwrapper.cpp. References fillBodyFields(), odebug, and oendl. Referenced by fillSinglePart(). |
|
||||||||||||
|
Definition at line 724 of file imapwrapper.cpp. References fillSingleBasicPart(), fillSingleMsgPart(), and fillSingleTextPart(). Referenced by traverseBody(). |
|
||||||||||||
|
Definition at line 746 of file imapwrapper.cpp. References fillBodyFields(), QString::lower(), odebug, and oendl. Referenced by fillSinglePart(). |
|
|
Implements AbstractMail. Definition at line 1116 of file imapwrapper.cpp. References account, Account::getAccountName(), odebug, and oendl. |
|
|
Implements AbstractMail. Definition at line 1111 of file imapwrapper.cpp. References account, and Account::getType(). |
|
||||||||||||
|
Definition at line 42 of file imapwrapper.cpp. References odebug, oendl, and qApp. Referenced by login(). |
|
|
Implements AbstractMail. Definition at line 279 of file imapwrapper.cpp. References account, QValueList< T >::append(), IMAPaccount::getPrefix(), i, list, login(), QString::lower(), m_imap, NULL, odebug, and oendl. |
|
||||||||||||
|
Definition at line 214 of file imapwrapper.cpp. References i, login(), m_imap, parse_list_result(), selectMbox(), RecMail::setMbox(), RecMail::setNumber(), RecMail::setWrapper(), Global::statusMessage(), and tr. |
|
|
Definition at line 102 of file imapwrapper.cpp. References account, Account::ConnectionType(), Account::getOffline(), LoginDialog::getPassword(), Account::getPassword(), Account::getPort(), Account::getServer(), LoginDialog::getUser(), Account::getUser(), imap_progress(), logout(), m_imap, NULL, odebug, oendl, server, start_tls(), Global::statusMessage(), tr, and true. Referenced by answeredMail(), deleteMail(), fetchBody(), fetchRawPart(), listFolders(), listMessages(), mvcpMail(), statusFolder(), and storeMessage(). |
|
|
Implements AbstractMail. Definition at line 203 of file imapwrapper.cpp. References m_imap, and m_Lastmbox. Referenced by login(), and ~IMAPwrapper(). |
|
||||||||||||||||||||
|
Reimplemented from AbstractMail. |
|
||||||||||||||||||||
|
Reimplemented from AbstractMail. Definition at line 1161 of file imapwrapper.cpp. References deleteMail(), QString::latin1(), login(), AbstractMail::mvcpMail(), odebug, oendl, selectMbox(), Global::statusMessage(), and tr. |
|
|
|
Definition at line 27 of file imapwrapper.cpp. References QString::latin1(), m_imap, m_Lastmbox, odebug, and oendl. Referenced by answeredMail(), deleteMail(), fetchBody(), fetchRawPart(), listMessages(), and mvcpMail(). |
|
|
Definition at line 48 of file imapwrapper.cpp. References low, m_imap, NULL, odebug, oendl, Global::statusMessage(), and tr. Referenced by login(). |
|
||||||||||||
|
Implements AbstractMail. Definition at line 1057 of file imapwrapper.cpp. References QString::latin1(), login(), folderStat::message_count, folderStat::message_recent, folderStat::message_unseen, NULL, odebug, and oendl. |
|
||||||||||||||||
|
Implements AbstractMail. Definition at line 1100 of file imapwrapper.cpp. References QString::latin1(), login(), and Global::statusMessage(). |
|
||||||||||||||||||||||||||||
|
Definition at line 649 of file imapwrapper.cpp. References QValueList< T >::append(), QValueList< T >::count(), fetchTextPart(), fillMultiPart(), fillSinglePart(), id, odebug, and oendl. Referenced by fetchBody(). |
|
|
Definition at line 76 of file imapwrapper.h. Referenced by getName(), getType(), IMAPwrapper(), listFolders(), and login(). |
|
|
Definition at line 77 of file imapwrapper.h. Referenced by answeredMail(), deleteMail(), fetchBody(), fetchRawPart(), IMAPwrapper(), listFolders(), listMessages(), login(), logout(), selectMbox(), and start_tls(). |
|
|
Definition at line 78 of file imapwrapper.h. Referenced by IMAPwrapper(), logout(), and selectMbox(). |
1.4.2