-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 2 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/nntpwrapper.cpp | 4 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/pop3wrapper.cpp | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp index 230cf53..657c2ba 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp | |||
@@ -2,4 +2,5 @@ | |||
2 | #include <libetpan/libetpan.h> | 2 | #include <libetpan/libetpan.h> |
3 | #include <qpe/global.h> | 3 | #include <qpe/global.h> |
4 | #include <opie2/oapplication.h> | ||
4 | 5 | ||
5 | #include "imapwrapper.h" | 6 | #include "imapwrapper.h" |
@@ -40,4 +41,5 @@ int IMAPwrapper::selectMbox(const QString&mbox) | |||
40 | void IMAPwrapper::imap_progress( size_t current, size_t maximum ) | 41 | void IMAPwrapper::imap_progress( size_t current, size_t maximum ) |
41 | { | 42 | { |
43 | qApp->processEvents(); | ||
42 | qDebug( "IMAP: %i of %i", current, maximum ); | 44 | qDebug( "IMAP: %i of %i", current, maximum ); |
43 | } | 45 | } |
diff --git a/noncore/net/mail/libmailwrapper/nntpwrapper.cpp b/noncore/net/mail/libmailwrapper/nntpwrapper.cpp index cc36f32..cfded43 100644 --- a/noncore/net/mail/libmailwrapper/nntpwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/nntpwrapper.cpp | |||
@@ -177,4 +177,8 @@ void NNTPwrapper::login() | |||
177 | m_nntp = 0; | 177 | m_nntp = 0; |
178 | 178 | ||
179 | } else { | ||
180 | mailsession * session = m_nntp->sto_session; | ||
181 | newsnntp * news = ( ( nntp_session_state_data * )session->sess_data )->nntp_session; | ||
182 | news->nntp_progr_fun = &nntp_progress; | ||
179 | } | 183 | } |
180 | 184 | ||
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp index 1b7a1b4..5467547 100644 --- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp +++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp | |||
@@ -167,4 +167,10 @@ void POP3wrapper::login() | |||
167 | mailstorage_free(m_pop3); | 167 | mailstorage_free(m_pop3); |
168 | m_pop3 = 0; | 168 | m_pop3 = 0; |
169 | } else { | ||
170 | mailsession * session = m_pop3->sto_session; | ||
171 | mailpop3 * mail = ( ( pop3_session_state_data * )session->sess_data )->pop3_session; | ||
172 | if (mail) { | ||
173 | mail->pop3_progr_fun = &pop3_progress; | ||
174 | } | ||
169 | } | 175 | } |
170 | } | 176 | } |