summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/popclient.cpp
authorgroucho <groucho>2003-04-29 08:04:34 (UTC)
committer groucho <groucho>2003-04-29 08:04:34 (UTC)
commitf09f685be0540e98cc33bc4f664a812aed756926 (patch) (side-by-side diff)
tree10a2193eafd1dc0ae25cd458f3bfa9f0f23522e1 /noncore/net/mailit/popclient.cpp
parente096c9d1f2be1ec74ede583fc4221871a56ef508 (diff)
downloadopie-f09f685be0540e98cc33bc4f664a812aed756926.zip
opie-f09f685be0540e98cc33bc4f664a812aed756926.tar.gz
opie-f09f685be0540e98cc33bc4f664a812aed756926.tar.bz2
- added ReplyAll for CC: addressing
- added a download button in mail view - smaller layout fixes - now it's getting to be real useful
Diffstat (limited to 'noncore/net/mailit/popclient.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mailit/popclient.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mailit/popclient.cpp b/noncore/net/mailit/popclient.cpp
index 6105d09..fedc4e2 100644
--- a/noncore/net/mailit/popclient.cpp
+++ b/noncore/net/mailit/popclient.cpp
@@ -29,6 +29,7 @@ extern "C" {
PopClient::PopClient()
{
+
socket = new QSocket(this, "popClient");
connect(socket, SIGNAL(error(int)), this, SLOT(errorHandling(int)));
connect(socket, SIGNAL(connected()), this, SLOT(connectionEstablished()));
@@ -118,6 +119,7 @@ void PopClient::incomingData()
// if ( !socket->canReadLine() )
// return;
+
response = socket->readLine();
switch(status) {
@@ -157,6 +159,7 @@ void PopClient::incomingData()
case Pass: {
*stream << "PASS " << popPassword << "\r\n";
status = Stat;
+
break;
}
//ask for number of messages
@@ -273,7 +276,6 @@ void PopClient::incomingData()
if (x == -1) {
break;
} else { //message reach entire size
-
if ( (selected)||(mailSize <= headerLimit)) //mail size limit is not used if late download is active
{
emit newMessage(message, messageCount-1, mailSize, TRUE);