summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mailheader.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kioslaves/imap4/mailheader.cc
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ();