summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mailaddress.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mailaddress.cc')
-rw-r--r--kioslaves/imap4/mailaddress.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslaves/imap4/mailaddress.cc b/kioslaves/imap4/mailaddress.cc
index 227defa97..0775d0f36 100644
--- a/kioslaves/imap4/mailaddress.cc
+++ b/kioslaves/imap4/mailaddress.cc
@@ -105,7 +105,7 @@ mailAddress::parseAddress (char *aCStr)
len = advance;
user = user.mid (1, len - 2); // strip <>
len -= 2;
- pt = user.find('@');
+ pt = user.tqfind('@');
host = user.right (len - pt - 1); // split it into host
user.truncate(pt); // and user
break;
@@ -161,7 +161,7 @@ mailAddress::parseAddress (char *aCStr)
}
else if (user.isEmpty ())
{
- pt = rawFullName.find ('@');
+ pt = rawFullName.tqfind ('@');
if (pt >= 0)
{
user = rawFullName;
@@ -196,7 +196,7 @@ mailAddress::parseAddress (char *aCStr)
return retVal;
}
-const QCString
+const TQCString
mailAddress::getStr ()
{
TQCString retVal(128); // Should be generally big enough
@@ -235,7 +235,7 @@ mailAddress::setFullName (const TQString & _str)
{
rawFullName = rfcDecoder::encodeRFC2047String (_str).latin1 ();
}
-const QString
+const TQString
mailAddress::getFullName () const
{
return rfcDecoder::decodeRFC2047String (rawFullName);
@@ -252,7 +252,7 @@ mailAddress::setComment (const TQString & _str)
{
rawComment = rfcDecoder::encodeRFC2047String (_str).latin1 ();
}
-const QString
+const TQString
mailAddress::getComment () const
{
return rfcDecoder::decodeRFC2047String (rawComment);
@@ -264,7 +264,7 @@ mailAddress::getCommentRaw () const
return rawComment;
}
-QString
+TQString
mailAddress::emailAddrAsAnchor (const mailAddress & adr, bool shortAdr)
{
TQString retVal;
@@ -298,7 +298,7 @@ mailAddress::emailAddrAsAnchor (const mailAddress & adr, bool shortAdr)
return retVal;
}
-QString
+TQString
mailAddress::emailAddrAsAnchor (const TQPtrList < mailAddress > &list, bool value)
{
TQString retVal;