summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mimehdrline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mimehdrline.cc')
-rw-r--r--kioslaves/imap4/mimehdrline.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/kioslaves/imap4/mimehdrline.cc b/kioslaves/imap4/mimehdrline.cc
index 9b03ec923..0706d04c4 100644
--- a/kioslaves/imap4/mimehdrline.cc
+++ b/kioslaves/imap4/mimehdrline.cc
@@ -40,7 +40,7 @@ mimeValue ((const char *) NULL), mimeLabel ((const char *) NULL)
{
}
-mimeHdrLine::mimeHdrLine (const QCString & aLabel, const QCString & aValue):
+mimeHdrLine::mimeHdrLine (const TQCString & aLabel, const TQCString & aValue):
mimeValue (aValue),
mimeLabel (aLabel)
{
@@ -69,11 +69,11 @@ mimeHdrLine::appendStr (const char *inCStr)
{
if (skip > 0)
{
- mimeValue += QCString (aCStr, skip + 1);
+ mimeValue += TQCString (aCStr, skip + 1);
aCStr += skip;
retVal += skip;
skip = parseFullLine (aCStr);
- mimeValue += QCString (aCStr, skip + 1);
+ mimeValue += TQCString (aCStr, skip + 1);
retVal += skip;
aCStr += skip;
}
@@ -96,8 +96,8 @@ mimeHdrLine::setStr (const char *inCStr)
int retVal = 0;
char *aCStr = (char *) inCStr;
// char *begin = aCStr;
- mimeLabel = QCString ((const char *) NULL);
- mimeValue = QCString ((const char *) NULL);
+ mimeLabel = TQCString ((const char *) NULL);
+ mimeValue = TQCString ((const char *) NULL);
if (aCStr)
{
@@ -113,7 +113,7 @@ mimeHdrLine::setStr (const char *inCStr)
retVal = 0;
else
{
- mimeLabel = QCString (aCStr, label); //length including zero
+ mimeLabel = TQCString (aCStr, label); //length including zero
retVal += label;
aCStr += label;
}
@@ -127,7 +127,7 @@ mimeHdrLine::setStr (const char *inCStr)
aCStr += skip;
retVal += skip;
skip = parseFullLine (aCStr);
- mimeValue = QCString (aCStr, skip + 1);
+ mimeValue = TQCString (aCStr, skip + 1);
retVal += skip;
aCStr += skip;
}
@@ -465,14 +465,14 @@ mimeHdrLine::parseSeparator (char separator, const char *inCStr)
/** return the label */
-const QCString&
+const TQCString&
mimeHdrLine::getLabel ()
{
return mimeLabel;
}
/** return the value */
-const QCString&
+const TQCString&
mimeHdrLine::getValue ()
{
return mimeValue;
@@ -481,10 +481,10 @@ mimeHdrLine::getValue ()
// FIXME: very inefficient still
QCString
-mimeHdrLine::truncateLine(QCString aLine, unsigned int truncate)
+mimeHdrLine::truncateLine(TQCString aLine, unsigned int truncate)
{
int cutHere;
- QCString retVal;
+ TQCString retVal;
uint len = aLine.length();
// see if we have a line of the form "key: value" (like "Subject: bla")