author | zautrix <zautrix> | 2004-08-31 21:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-31 21:01:18 (UTC) |
commit | 3f5c51234c8068f3d4826a2a0066648ace21a19f (patch) (unidiff) | |
tree | 91b76c1c7ddec6628c573e409070070747d99feb /kmicromail/libmailwrapper/pop3wrapper.h | |
parent | 95f8d4f1de557bd25ae38807d970208399cec5d1 (diff) | |
download | kdepimpi-3f5c51234c8068f3d4826a2a0066648ace21a19f.zip kdepimpi-3f5c51234c8068f3d4826a2a0066648ace21a19f.tar.gz kdepimpi-3f5c51234c8068f3d4826a2a0066648ace21a19f.tar.bz2 |
Enhancements of kopiemail
Diffstat (limited to 'kmicromail/libmailwrapper/pop3wrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libmailwrapper/pop3wrapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kmicromail/libmailwrapper/pop3wrapper.h b/kmicromail/libmailwrapper/pop3wrapper.h index 5101fa5..ee754a4 100644 --- a/kmicromail/libmailwrapper/pop3wrapper.h +++ b/kmicromail/libmailwrapper/pop3wrapper.h | |||
@@ -1,42 +1,44 @@ | |||
1 | // CHANGED 2004-09-31 Lutz Rogowski | ||
1 | #ifndef __POP3WRAPPER | 2 | #ifndef __POP3WRAPPER |
2 | #define __POP3WRAPPER | 3 | #define __POP3WRAPPER |
3 | 4 | ||
4 | #include "mailwrapper.h" | 5 | #include "mailwrapper.h" |
5 | #include "genericwrapper.h" | 6 | #include "genericwrapper.h" |
6 | #include <qstring.h> | 7 | #include <qstring.h> |
7 | 8 | ||
8 | class encodedString; | 9 | class encodedString; |
9 | struct mailstorage; | 10 | struct mailstorage; |
10 | struct mailfolder; | 11 | struct mailfolder; |
11 | 12 | ||
12 | class POP3wrapper : public Genericwrapper | 13 | class POP3wrapper : public Genericwrapper |
13 | { | 14 | { |
14 | Q_OBJECT | 15 | Q_OBJECT |
15 | 16 | ||
16 | public: | 17 | public: |
17 | POP3wrapper( POP3account *a ); | 18 | POP3wrapper( POP3account *a ); |
18 | virtual ~POP3wrapper(); | 19 | virtual ~POP3wrapper(); |
19 | /* mailbox will be ignored */ | 20 | /* mailbox will be ignored */ |
20 | virtual void listMessages(const QString & mailbox, QValueList<Opie::Core::OSmartPointer<RecMail> > &target ); | 21 | virtual void listMessages(const QString & mailbox, QValueList<Opie::Core::OSmartPointer<RecMail> > &target, int maxSizeInKb = 0 ); |
21 | virtual QValueList<Opie::Core::OSmartPointer<Folder> >* listFolders(); | 22 | virtual QValueList<Opie::Core::OSmartPointer<Folder> >* listFolders(); |
22 | /* mailbox will be ignored */ | 23 | /* mailbox will be ignored */ |
23 | virtual void statusFolder(folderStat&target_stat,const QString & mailbox="INBOX"); | 24 | virtual void statusFolder(folderStat&target_stat,const QString & mailbox="INBOX"); |
24 | 25 | ||
25 | virtual void deleteMail(const RecMailP&mail); | 26 | virtual void deleteMail(const RecMailP&mail); |
26 | virtual void answeredMail(const RecMailP&mail); | 27 | virtual void answeredMail(const RecMailP&mail); |
28 | virtual void deleteMailList(QValueList<RecMailP>&target); | ||
27 | virtual int deleteAllMail(const Opie::Core::OSmartPointer<Folder>&); | 29 | virtual int deleteAllMail(const Opie::Core::OSmartPointer<Folder>&); |
28 | 30 | ||
29 | virtual RecBodyP fetchBody( const RecMailP &mail ); | 31 | virtual RecBodyP fetchBody( const RecMailP &mail ); |
30 | virtual encodedString* fetchRawBody(const RecMailP&mail); | 32 | virtual encodedString* fetchRawBody(const RecMailP&mail); |
31 | virtual void logout(); | 33 | virtual void logout(); |
32 | virtual MAILLIB::ATYPE getType()const; | 34 | virtual MAILLIB::ATYPE getType()const; |
33 | virtual const QString&getName()const; | 35 | virtual const QString&getName()const; |
34 | static void pop3_progress( size_t current, size_t maximum ); | 36 | static void pop3_progress( size_t current, size_t maximum ); |
35 | 37 | ||
36 | protected: | 38 | protected: |
37 | void login(); | 39 | void login(); |
38 | POP3account *account; | 40 | POP3account *account; |
39 | mailstorage*m_pop3; | 41 | mailstorage*m_pop3; |
40 | }; | 42 | }; |
41 | 43 | ||
42 | #endif | 44 | #endif |