diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kioslaves/imap4/mimehdrline.cc | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/mimehdrline.cc')
-rw-r--r-- | kioslaves/imap4/mimehdrline.cc | 22 |
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") |