summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mailheader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mailheader.cc')
-rw-r--r--kioslaves/imap4/mailheader.cc36
1 files changed, 18 insertions, 18 deletions
diff --git a/kioslaves/imap4/mailheader.cc b/kioslaves/imap4/mailheader.cc
index 960e5ba52..dea9ce5fd 100644
--- a/kioslaves/imap4/mailheader.cc
+++ b/kioslaves/imap4/mailheader.cc
@@ -36,8 +36,8 @@ mailHeader::addHdrLine (mimeHdrLine * inLine)
{
mimeHdrLine *addLine = new mimeHdrLine (inLine);
- const QCString label(addLine->getLabel());
- const QCString value(addLine->getValue());
+ const TQCString label(addLine->getLabel());
+ const TQCString value(addLine->getValue());
if (!qstricmp (label, "Return-Path")) {
returnpathAdr.parseAddress (value.data ());
@@ -109,18 +109,18 @@ mailHeader::addHdrLine (mimeHdrLine * inLine)
void
mailHeader::outputHeader (mimeIO & useIO)
{
- static const QCString __returnPath("Return-Path: ", 14);
- static const QCString __from ("From: ", 7);
- static const QCString __sender ("Sender: ", 9);
- static const QCString __replyTo ("Reply-To: ", 11);
- static const QCString __to ("To: ", 5);
- static const QCString __cc ("CC: ", 5);
- static const QCString __bcc ("BCC: ", 6);
- static const QCString __subject ("Subject: ", 10);
- static const QCString __messageId ("Message-ID: ", 13);
- static const QCString __inReplyTo ("In-Reply-To: ", 14);
- static const QCString __references("References: ", 13);
- static const QCString __date ("Date: ", 7);
+ static const TQCString __returnPath("Return-Path: ", 14);
+ static const TQCString __from ("From: ", 7);
+ static const TQCString __sender ("Sender: ", 9);
+ static const TQCString __replyTo ("Reply-To: ", 11);
+ static const TQCString __to ("To: ", 5);
+ static const TQCString __cc ("CC: ", 5);
+ static const TQCString __bcc ("BCC: ", 6);
+ static const TQCString __subject ("Subject: ", 10);
+ static const TQCString __messageId ("Message-ID: ", 13);
+ static const TQCString __inReplyTo ("In-Reply-To: ", 14);
+ static const TQCString __references("References: ", 13);
+ static const TQCString __date ("Date: ", 7);
if (!returnpathAdr.isEmpty())
useIO.outputMimeLine(__returnPath + returnpathAdr.getStr());
@@ -156,7 +156,7 @@ mailHeader::outputHeader (mimeIO & useIO)
int
mailHeader::parseAddressList (const char *inCStr,
- QPtrList < mailAddress > *aList)
+ TQPtrList < mailAddress > *aList)
{
int advance = 0;
int skip = 1;
@@ -187,11 +187,11 @@ mailHeader::parseAddressList (const char *inCStr,
}
QCString
-mailHeader::getAddressStr (QPtrList < mailAddress > *aList)
+mailHeader::getAddressStr (TQPtrList < mailAddress > *aList)
{
- QCString retVal;
+ TQCString retVal;
- QPtrListIterator < mailAddress > it = QPtrListIterator < mailAddress > (*aList);
+ TQPtrListIterator < mailAddress > it = TQPtrListIterator < mailAddress > (*aList);
while (it.current ())
{
retVal += it.current ()->getStr ();