summaryrefslogtreecommitdiffstats
path: root/kioslaves
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves')
-rw-r--r--kioslaves/imap4/imapparser.cc10
-rw-r--r--kioslaves/imap4/mailheader.cc24
-rw-r--r--kioslaves/imap4/mimeheader.cc26
3 files changed, 30 insertions, 30 deletions
diff --git a/kioslaves/imap4/imapparser.cc b/kioslaves/imap4/imapparser.cc
index 6bd313660..791e78fa6 100644
--- a/kioslaves/imap4/imapparser.cc
+++ b/kioslaves/imap4/imapparser.cc
@@ -1808,7 +1808,7 @@ void
imapParser::parseRelay (const TQByteArray & buffer)
{
Q_UNUSED(buffer);
- qWarning
+ tqWarning
("imapParser::parseRelay - virtual function not reimplemented - data lost");
}
@@ -1816,7 +1816,7 @@ void
imapParser::parseRelay (ulong len)
{
Q_UNUSED(len);
- qWarning
+ tqWarning
("imapParser::parseRelay - virtual function not reimplemented - announcement lost");
}
@@ -1825,7 +1825,7 @@ bool imapParser::parseRead (TQByteArray & buffer, ulong len, ulong relay)
Q_UNUSED(buffer);
Q_UNUSED(len);
Q_UNUSED(relay);
- qWarning
+ tqWarning
("imapParser::parseRead - virtual function not reimplemented - no data read");
return FALSE;
}
@@ -1834,7 +1834,7 @@ bool imapParser::parseReadLine (TQByteArray & buffer, ulong relay)
{
Q_UNUSED(buffer);
Q_UNUSED(relay);
- qWarning
+ tqWarning
("imapParser::parseReadLine - virtual function not reimplemented - no data read");
return FALSE;
}
@@ -1843,7 +1843,7 @@ void
imapParser::parseWriteLine (const TQString & str)
{
Q_UNUSED(str);
- qWarning
+ tqWarning
("imapParser::parseWriteLine - virtual function not reimplemented - no data written");
}
diff --git a/kioslaves/imap4/mailheader.cc b/kioslaves/imap4/mailheader.cc
index 8ae36f4c3..c520b9094 100644
--- a/kioslaves/imap4/mailheader.cc
+++ b/kioslaves/imap4/mailheader.cc
@@ -39,54 +39,54 @@ mailHeader::addHdrLine (mimeHdrLine * inLine)
const TQCString label(addLine->getLabel());
TQCString value(addLine->getValue());
- if (!qstricmp (label, "Return-Path")) {
+ if (!tqstricmp (label, "Return-Path")) {
returnpathAdr.parseAddress (value.data ());
goto out;
}
- if (!qstricmp (label, "Sender")) {
+ if (!tqstricmp (label, "Sender")) {
senderAdr.parseAddress (value.data ());
goto out;
}
- if (!qstricmp (label, "From")) {
+ if (!tqstricmp (label, "From")) {
fromAdr.parseAddress (value.data ());
goto out;
}
- if (!qstricmp (label, "Reply-To")) {
+ if (!tqstricmp (label, "Reply-To")) {
replytoAdr.parseAddress (value.data ());
goto out;
}
- if (!qstricmp (label, "To")) {
+ if (!tqstricmp (label, "To")) {
mailHeader::parseAddressList (value, &toAdr);
goto out;
}
- if (!qstricmp (label, "CC")) {
+ if (!tqstricmp (label, "CC")) {
mailHeader::parseAddressList (value, &ccAdr);
goto out;
}
- if (!qstricmp (label, "BCC")) {
+ if (!tqstricmp (label, "BCC")) {
mailHeader::parseAddressList (value, &bccAdr);
goto out;
}
- if (!qstricmp (label, "Subject")) {
+ if (!tqstricmp (label, "Subject")) {
_subject = value.simplifyWhiteSpace();
goto out;
}
- if (!qstricmp (label.data (), "Date")) {
+ if (!tqstricmp (label.data (), "Date")) {
mDate = value;
goto out;
}
- if (!qstricmp (label.data (), "Message-ID")) {
+ if (!tqstricmp (label.data (), "Message-ID")) {
int start = value.findRev ('<');
int end = value.findRev ('>');
if (start < end)
messageID = value.mid (start, end - start + 1);
else {
- qWarning("bad Message-ID");
+ tqWarning("bad Message-ID");
/* messageID = value; */
}
goto out;
}
- if (!qstricmp (label.data (), "In-Reply-To")) {
+ if (!tqstricmp (label.data (), "In-Reply-To")) {
int start = value.findRev ('<');
int end = value.findRev ('>');
if (start < end)
diff --git a/kioslaves/imap4/mimeheader.cc b/kioslaves/imap4/mimeheader.cc
index 39af2c397..8b54b98c9 100644
--- a/kioslaves/imap4/mimeheader.cc
+++ b/kioslaves/imap4/mimeheader.cc
@@ -77,7 +77,7 @@ mimeHeader::addHdrLine (mimeHdrLine * aHdrLine)
if (addLine)
{
originalHdrLines.append (addLine);
- if (qstrnicmp (addLine->getLabel (), "Content-", 8))
+ if (tqstrnicmp (addLine->getLabel (), "Content-", 8))
{
additionalHdrLines.append (addLine);
}
@@ -105,34 +105,34 @@ mimeHeader::addHdrLine (mimeHdrLine * aHdrLine)
TQCString mimeValue = TQCString (aCStr, skip - cut + 1); // cutting of one because of 0x00
- if (!qstricmp (addLine->getLabel (), "Content-Disposition"))
+ if (!tqstricmp (addLine->getLabel (), "Content-Disposition"))
{
aList = &dispositionList;
_contentDisposition = mimeValue;
}
- else if (!qstricmp (addLine->getLabel (), "Content-Type"))
+ else if (!tqstricmp (addLine->getLabel (), "Content-Type"))
{
aList = &typeList;
contentType = mimeValue;
}
else
- if (!qstricmp (addLine->getLabel (), "Content-Transfer-Encoding"))
+ if (!tqstricmp (addLine->getLabel (), "Content-Transfer-Encoding"))
{
contentEncoding = mimeValue;
}
- else if (!qstricmp (addLine->getLabel (), "Content-ID"))
+ else if (!tqstricmp (addLine->getLabel (), "Content-ID"))
{
contentID = mimeValue;
}
- else if (!qstricmp (addLine->getLabel (), "Content-Description"))
+ else if (!tqstricmp (addLine->getLabel (), "Content-Description"))
{
_contentDescription = mimeValue;
}
- else if (!qstricmp (addLine->getLabel (), "Content-MD5"))
+ else if (!tqstricmp (addLine->getLabel (), "Content-MD5"))
{
contentMD5 = mimeValue;
}
- else if (!qstricmp (addLine->getLabel (), "Content-Length"))
+ else if (!tqstricmp (addLine->getLabel (), "Content-Length"))
{
contentLength = mimeValue.toULong ();
}
@@ -463,7 +463,7 @@ mimeHeader::parsePart (mimeIO & useIO, const TQString& boundary)
mbox = parseHeader (useIO);
kdDebug(7116) << "mimeHeader::parsePart - parsing part '" << getType () << "'" << endl;
- if (!qstrnicmp (getType (), "Multipart", 9))
+ if (!tqstrnicmp (getType (), "Multipart", 9))
{
retVal = parseBody (useIO, preNested, getTypeParm ("boundary")); //this is a message in mime format stuff
setPreBody (preNested);
@@ -473,7 +473,7 @@ mimeHeader::parsePart (mimeIO & useIO, const TQString& boundary)
mimeHeader *aHeader = new mimeHeader;
// set default type for multipart/digest
- if (!qstrnicmp (getType (), "Multipart/Digest", 16))
+ if (!tqstrnicmp (getType (), "Multipart/Digest", 16))
aHeader->setType ("Message/RFC822");
localRetVal = aHeader->parsePart (useIO, getTypeParm ("boundary"));
@@ -481,7 +481,7 @@ mimeHeader::parsePart (mimeIO & useIO, const TQString& boundary)
}
while (localRetVal); //get nested stuff
}
- if (!qstrnicmp (getType (), "Message/RFC822", 14))
+ if (!tqstrnicmp (getType (), "Message/RFC822", 14))
{
mailHeader *msgHeader = new mailHeader;
retVal = msgHeader->parsePart (useIO, boundary);
@@ -515,13 +515,13 @@ mimeHeader::parseBody (mimeIO & useIO, TQCString & messageBody,
{
//check for the end of all parts
if (!partEnd.isEmpty ()
- && !qstrnicmp (inputStr, partEnd.latin1 (), partEnd.length () - 1))
+ && !tqstrnicmp (inputStr, partEnd.latin1 (), partEnd.length () - 1))
{
retVal = 0; //end of these parts
break;
}
else if (!partBoundary.isEmpty ()
- && !qstrnicmp (inputStr, partBoundary.latin1 (),
+ && !tqstrnicmp (inputStr, partBoundary.latin1 (),
partBoundary.length () - 1))
{
retVal = 1; //continue with next part