Diffstat (limited to 'noncore/net/mail/pop3wrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/pop3wrapper.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/noncore/net/mail/pop3wrapper.h b/noncore/net/mail/pop3wrapper.h index 995bed0..3b24564 100644 --- a/noncore/net/mail/pop3wrapper.h +++ b/noncore/net/mail/pop3wrapper.h @@ -4,2 +4,3 @@ #include "mailwrapper.h" +#include "abstractmail.h" @@ -9,3 +10,3 @@ struct mailpop3; -class POP3wrapper : public QObject +class POP3wrapper : public AbstractMail { @@ -16,3 +17,8 @@ public: virtual ~POP3wrapper(); - void listMessages( QList<RecMail> &target ); + /* mailbox will be ignored */ + virtual void listMessages(const QString & mailbox, QList<RecMail> &target ); + virtual QList<Folder>* listFolders(); + virtual QString fetchPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false); + virtual QString fetchPart(const RecMail&mail,const RecPart&part); + RecBody fetchBody( const RecMail &mail ); @@ -34,3 +40,2 @@ private: mailpop3 *m_pop3; - }; |