diff options
Diffstat (limited to 'kioslaves/imap4/mimeheader.cc')
-rw-r--r-- | kioslaves/imap4/mimeheader.cc | 26 |
1 files changed, 13 insertions, 13 deletions
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 |