author | alwin <alwin> | 2004-03-19 01:04:35 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-19 01:04:35 (UTC) |
commit | 2c8db13612d37c941676b4033298afc8e757765d (patch) (unidiff) | |
tree | a1c2fa0817b00999f4b8f916978f78064c4355e1 /noncore/net/mail/libmailwrapper/imapwrapper.cpp | |
parent | 06a659114c19890a1875f22c62a96bdb908fd25f (diff) | |
download | opie-2c8db13612d37c941676b4033298afc8e757765d.zip opie-2c8db13612d37c941676b4033298afc8e757765d.tar.gz opie-2c8db13612d37c941676b4033298afc8e757765d.tar.bz2 |
set callbacks for pop3 and nntp but seems never be called
in imap qApp-processEvents() is called for avoiding gui blocking
Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 2 |
1 files changed, 2 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 | |||
@@ -1,9 +1,10 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
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" |
6 | #include "mailtypes.h" | 7 | #include "mailtypes.h" |
7 | #include "logindialog.h" | 8 | #include "logindialog.h" |
8 | 9 | ||
9 | using namespace Opie::Core; | 10 | using namespace Opie::Core; |
@@ -36,12 +37,13 @@ int IMAPwrapper::selectMbox(const QString&mbox) | |||
36 | m_Lastmbox = mbox; | 37 | m_Lastmbox = mbox; |
37 | return err; | 38 | return err; |
38 | } | 39 | } |
39 | 40 | ||
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 | } |
44 | 46 | ||
45 | bool IMAPwrapper::start_tls(bool force_tls) | 47 | bool IMAPwrapper::start_tls(bool force_tls) |
46 | { | 48 | { |
47 | int err; | 49 | int err; |