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

Public Member Functions | |
| AbstractMail () | |
| virtual | ~AbstractMail () |
| virtual QValueList< Opie::Core::OSmartPointer< Folder > > * | listFolders ()=0 |
| virtual void | listMessages (const QString &mailbox, QValueList< RecMailP > &target)=0 |
| virtual void | statusFolder (folderStat &target_stat, const QString &mailbox="INBOX")=0 |
| virtual RecBodyP | fetchBody (const RecMailP &mail)=0 |
| virtual QString | fetchTextPart (const RecMailP &mail, const RecPartP &part)=0 |
| virtual encodedString * | fetchDecodedPart (const RecMailP &mail, const RecPartP &part)=0 |
| virtual encodedString * | fetchRawPart (const RecMailP &mail, const RecPartP &part)=0 |
| virtual encodedString * | fetchRawBody (const RecMailP &mail)=0 |
| virtual void | deleteMail (const RecMailP &mail)=0 |
| virtual void | answeredMail (const RecMailP &mail)=0 |
| virtual int | deleteAllMail (const Opie::Core::OSmartPointer< Folder > &)=0 |
| virtual void | deleteMails (const QString &FolderName, const QValueList< Opie::Core::OSmartPointer< RecMail > > &target) |
| virtual int | deleteMbox (const Opie::Core::OSmartPointer< Folder > &)=0 |
| virtual void | storeMessage (const char *msg, size_t length, const QString &folder)=0 |
| 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 void | cleanMimeCache () |
| virtual int | createMbox (const QString &, const Opie::Core::OSmartPointer< Folder > &parentfolder=0, const QString &delemiter="/", bool getsubfolder=false) |
| virtual void | logout ()=0 |
| virtual MAILLIB::ATYPE | getType () const =0 |
| virtual const QString & | getName () const =0 |
Static Public Member Functions | |
| static AbstractMail * | getWrapper (IMAPaccount *a) |
| static AbstractMail * | getWrapper (POP3account *a) |
| static AbstractMail * | getWrapper (NNTPaccount *a) |
| static AbstractMail * | getWrapper (const QString &a, const QString &name="Local Folders") |
| static AbstractMail * | getWrapper (Account *a) |
| static QString | defaultLocalfolder () |
| static QString | draftFolder () |
Static Protected Member Functions | |
| static encodedString * | decode_String (const encodedString *text, const QString &enc) |
| static QString | convert_String (const char *text) |
| static QString | gen_attachment_id () |
|
|
Definition at line 22 of file abstractmail.h. |
|
|
Definition at line 23 of file abstractmail.h. |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. |
|
|
Reimplemented in Genericwrapper. Definition at line 44 of file abstractmail.h. |
|
|
Definition at line 85 of file abstractmail.cpp. Referenced by IMAPwrapper::address_list_to_stringlist(), IMAPwrapper::parse_list_result(), Genericwrapper::parseList(), and Genericwrapper::parseMailbox(). |
|
||||||||||||||||||||
|
Reimplemented in IMAPwrapper, MBOXwrapper, and MHwrapper. Referenced by MHviewItem::createFolder(), IMAPfolderItem::createNewFolder(), IMAPviewItem::createNewFolder(), OpieMail::slotMoveCopyMail(), Storemail::Storemail(), and SMTPwrapper::storeMail(). |
|
||||||||||||
|
Definition at line 55 of file abstractmail.cpp. References encodedString::Content(), encodedString::Length(), QString::lower(), odebug, oendl, and encodedString::setContent(). Referenced by IMAPwrapper::fetchDecodedPart(), Genericwrapper::fetchDecodedPart(), IMAPwrapper::fetchTextPart(), and Genericwrapper::traverseBody(). |
|
|
Definition at line 124 of file abstractmail.cpp. References f. Referenced by SMTPwrapper::flushOutbox(), MHfolderItem::isDraftfolder(), AccountView::populate(), Storemail::Storemail(), and SMTPwrapper::storeMail(). |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by mvcpMail(). |
|
||||||||||||
|
Reimplemented in MHwrapper. Definition at line 137 of file abstractmail.cpp. Referenced by SMTPwrapper::flushOutbox(). |
|
|
Implemented in Genericwrapper, IMAPwrapper, MBOXwrapper, and MHwrapper. |
|
|
Definition at line 131 of file abstractmail.cpp. Referenced by MHfolderItem::isDraftfolder(), and ComposeMail::reject(). |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. |
|
||||||||||||
|
Implemented in Genericwrapper, and IMAPwrapper. |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by mvcpMail(). |
|
||||||||||||
|
Implemented in Genericwrapper, and IMAPwrapper. |
|
||||||||||||
|
Implemented in Genericwrapper, and IMAPwrapper. |
|
|
Definition at line 108 of file abstractmail.cpp. References IO_ReadOnly, QString::null, QFile::open(), QTextStream::read(), and stream. Referenced by Genericwrapper::traverseBody(). |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by Selectstore::addAccounts(). |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by StatusMail::check_current_stat(). |
|
|
Definition at line 37 of file abstractmail.cpp. References MAILLIB::A_IMAP, MAILLIB::A_NNTP, MAILLIB::A_POP3, and Account::getType(). |
|
||||||||||||
|
Definition at line 32 of file abstractmail.cpp. |
|
|
Definition at line 27 of file abstractmail.cpp. |
|
|
Definition at line 22 of file abstractmail.cpp. |
|
|
Definition at line 17 of file abstractmail.cpp. Referenced by SMTPwrapper::flushOutbox(), IMAPviewItem::IMAPviewItem(), StatusMail::initAccounts(), MHviewItem::MHviewItem(), NNTPviewItem::NNTPviewItem(), POP3viewItem::POP3viewItem(), Storemail::Storemail(), and SMTPwrapper::storeMail(). |
|
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by MHviewItem::refresh(), NNTPviewItem::refresh(), POP3viewItem::refresh(), and IMAPviewItem::refreshFolders(). |
|
||||||||||||
|
Implemented in MBOXwrapper. Referenced by SMTPwrapper::flushOutbox(). |
|
|
Implemented in Genericwrapper, IMAPwrapper, NNTPwrapper, and POP3wrapper. Referenced by StatusMail::check_current_stat(), IMAPviewItem::contextMenuSelected(), NNTPviewItem::disconnect(), POP3viewItem::disconnect(), and StatusMail::initAccounts(). |
|
||||||||||||||||||||
|
Reimplemented in IMAPwrapper, and MHwrapper. |
|
||||||||||||||||||||
|
Reimplemented in IMAPwrapper, and MHwrapper. Definition at line 161 of file abstractmail.cpp. References encodedString::Content(), deleteMail(), fetchRawBody(), encodedString::Length(), and storeMessage(). Referenced by MHwrapper::mvcpMail(), and IMAPwrapper::mvcpMail(). |
|
||||||||||||
|
Implemented in IMAPwrapper, MBOXwrapper, MHwrapper, NNTPwrapper, and POP3wrapper. Referenced by StatusMail::check_current_stat(), and StatusMail::initAccounts(). |
|
||||||||||||||||
|
Implemented in Genericwrapper, IMAPwrapper, MBOXwrapper, and MHwrapper. Referenced by mvcpMail(), Storemail::storeMail(), and SMTPwrapper::storeMail(). |
1.4.2