summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imapparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/imapparser.cc')
-rw-r--r--kioslaves/imap4/imapparser.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kioslaves/imap4/imapparser.cc b/kioslaves/imap4/imapparser.cc
index 4b8086ffc..328c0e566 100644
--- a/kioslaves/imap4/imapparser.cc
+++ b/kioslaves/imap4/imapparser.cc
@@ -273,7 +273,7 @@ imapParser::clientAuthenticate ( KIO::SlaveBase *slave, KIO::AuthInfo &ai,
TQString firstCommand = aAuth;
if ( !challenge.isEmpty() ) {
firstCommand += " ";
- firstCommand += TQString::tqfromLatin1( challenge.data(), challenge.size() );
+ firstCommand += TQString::fromLatin1( challenge.data(), challenge.size() );
}
cmd = sendCommand (new imapCommand ("AUTHENTICATE", firstCommand.latin1()));
@@ -443,7 +443,7 @@ imapParser::parseUntagged (parseString & result)
}
else if (tqstrncmp(what, "STATUS", what.size()) == 0)
{
- parsetqStatus (result);
+ parseStatus (result);
}
break;
@@ -845,9 +845,9 @@ void imapParser::parseSearch (parseString & result)
}
}
-void imapParser::parsetqStatus (parseString & inWords)
+void imapParser::parseStatus (parseString & inWords)
{
- lastqStatus = imapInfo ();
+ lasStatus = imapInfo ();
parseLiteralC(inWords); // swallow the box
if (inWords.isEmpty() || inWords[0] != '(')
@@ -864,15 +864,15 @@ void imapParser::parsetqStatus (parseString & inWords)
if (parseOneNumber (inWords, value))
{
if (label == "MESSAGES")
- lastqStatus.setCount (value);
+ lasStatus.setCount (value);
else if (label == "RECENT")
- lastqStatus.setRecent (value);
+ lasStatus.setRecent (value);
else if (label == "UIDVALIDITY")
- lastqStatus.setUidValidity (value);
+ lasStatus.setUidValidity (value);
else if (label == "UNSEEN")
- lastqStatus.setUnseen (value);
+ lasStatus.setUnseen (value);
else if (label == "UIDNEXT")
- lastqStatus.setUidNext (value);
+ lasStatus.setUidNext (value);
}
}