diff options
Diffstat (limited to 'kioslaves/imap4/mailaddress.cc')
-rw-r--r-- | kioslaves/imap4/mailaddress.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kioslaves/imap4/mailaddress.cc b/kioslaves/imap4/mailaddress.cc index a70b2d591..227defa97 100644 --- a/kioslaves/imap4/mailaddress.cc +++ b/kioslaves/imap4/mailaddress.cc @@ -93,15 +93,15 @@ mailAddress::parseAddress (char *aCStr) { case '"': advance = mimeHdrLine::parseQuoted ('"', '"', aCStr); - rawFullName += QCString (aCStr, advance + 1); + rawFullName += TQCString (aCStr, advance + 1); break; case '(': advance = mimeHdrLine::parseQuoted ('(', ')', aCStr); - rawComment += QCString (aCStr, advance + 1); + rawComment += TQCString (aCStr, advance + 1); break; case '<': advance = mimeHdrLine::parseQuoted ('<', '>', aCStr); - user = QCString (aCStr, advance + 1); // copy it + user = TQCString (aCStr, advance + 1); // copy it len = advance; user = user.mid (1, len - 2); // strip <> len -= 2; @@ -116,7 +116,7 @@ mailAddress::parseAddress (char *aCStr) { if (*aCStr != ',') { - rawFullName += QCString (aCStr, advance + 1); + rawFullName += TQCString (aCStr, advance + 1); if (mimeHdrLine::skipWS ((const char *) &aCStr[advance]) > 0) { rawFullName += ' '; @@ -199,7 +199,7 @@ mailAddress::parseAddress (char *aCStr) const QCString mailAddress::getStr () { - QCString retVal(128); // Should be generally big enough + TQCString retVal(128); // Should be generally big enough if (!rawFullName.isEmpty ()) { @@ -231,7 +231,7 @@ mailAddress::isEmpty () const } void -mailAddress::setFullName (const QString & _str) +mailAddress::setFullName (const TQString & _str) { rawFullName = rfcDecoder::encodeRFC2047String (_str).latin1 (); } @@ -242,13 +242,13 @@ mailAddress::getFullName () const } void -mailAddress::setCommentRaw (const QCString & _str) +mailAddress::setCommentRaw (const TQCString & _str) { rawComment = _str; } void -mailAddress::setComment (const QString & _str) +mailAddress::setComment (const TQString & _str) { rawComment = rfcDecoder::encodeRFC2047String (_str).latin1 (); } @@ -258,7 +258,7 @@ mailAddress::getComment () const return rfcDecoder::decodeRFC2047String (rawComment); } -const QCString & +const TQCString & mailAddress::getCommentRaw () const { return rawComment; @@ -267,7 +267,7 @@ mailAddress::getCommentRaw () const QString mailAddress::emailAddrAsAnchor (const mailAddress & adr, bool shortAdr) { - QString retVal; + TQString retVal; if (!adr.getFullName ().isEmpty ()) { // should do some umlaut escaping @@ -288,7 +288,7 @@ mailAddress::emailAddrAsAnchor (const mailAddress & adr, bool shortAdr) if (!adr.getUser ().isEmpty ()) { - QString mail; + TQString mail; mail = adr.getUser (); if (!mail.isEmpty () && !adr.getHost ().isEmpty ()) mail += "@" + adr.getHost (); @@ -299,10 +299,10 @@ mailAddress::emailAddrAsAnchor (const mailAddress & adr, bool shortAdr) } QString -mailAddress::emailAddrAsAnchor (const QPtrList < mailAddress > &list, bool value) +mailAddress::emailAddrAsAnchor (const TQPtrList < mailAddress > &list, bool value) { - QString retVal; - QPtrListIterator < mailAddress > it (list); + TQString retVal; + TQPtrListIterator < mailAddress > it (list); while (it.current ()) { |