diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /libkmime/kmime_headers.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libkmime/kmime_headers.cpp')
-rw-r--r-- | libkmime/kmime_headers.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libkmime/kmime_headers.cpp b/libkmime/kmime_headers.cpp index e939d8f40..85d4c4049 100644 --- a/libkmime/kmime_headers.cpp +++ b/libkmime/kmime_headers.cpp @@ -25,7 +25,7 @@ #include "kqcstringsplitter.h" -#include <textcodec.h> +#include <tqtextcodec.h> #include <tqstring.h> #include <tqcstring.h> #include <tqstringlist.h> @@ -529,7 +529,7 @@ void MessageID::fromUnicodeString(const TQString &s, const TQCString&) TQString MessageID::asUnicodeString() { - return TQString::fromLatin1(m_id); + return TQString::tqfromLatin1(m_id); } @@ -567,7 +567,7 @@ void Control::fromUnicodeString(const TQString &s, const TQCString&) TQString Control::asUnicodeString() { - return TQString::fromLatin1(c_trlMsg); + return TQString::tqfromLatin1(c_trlMsg); } //-----</Control>------------------------------ @@ -797,7 +797,7 @@ void Date::fromUnicodeString(const TQString &s, const TQCString&) TQString Date::asUnicodeString() { - return TQString::fromLatin1(as7BitString(false)); + return TQString::tqfromLatin1(as7BitString(false)); } @@ -1075,7 +1075,7 @@ void References::fromUnicodeString(const TQString &s, const TQCString&) TQString References::asUnicodeString() { - return TQString::fromLatin1(r_ef); + return TQString::tqfromLatin1(r_ef); } @@ -1174,7 +1174,7 @@ void References::append(const TQCString &s) for (int i=1;i<=3;i++) { // include the last three ids if (!lst.isEmpty()) { temp = lst.last(); - r_ef.insert(insPos,(TQString(" %1").arg(temp)).latin1()); + r_ef.insert(insPos,(TQString(" %1").tqarg(temp)).latin1()); lst.remove(temp); } else break; @@ -1183,7 +1183,7 @@ void References::append(const TQCString &s) while (!lst.isEmpty()) { // now insert the rest, up to 1000 characters temp = lst.last(); if ((15+r_ef.length()+temp.length())<1000) { - r_ef.insert(insPos,(TQString(" %1").arg(temp)).latin1()); + r_ef.insert(insPos,(TQString(" %1").tqarg(temp)).latin1()); lst.remove(temp); } else return; @@ -1221,7 +1221,7 @@ void UserAgent::fromUnicodeString(const TQString &s, const TQCString&) TQString UserAgent::asUnicodeString() { - return TQString::fromLatin1(u_agent); + return TQString::tqfromLatin1(u_agent); } //-----</UserAgent>---------------------------- @@ -1268,7 +1268,7 @@ void ContentType::fromUnicodeString(const TQString &s, const TQCString&) TQString ContentType::asUnicodeString() { - return TQString::fromLatin1(as7BitString(false)); + return TQString::tqfromLatin1(as7BitString(false)); } @@ -1544,7 +1544,7 @@ void CTEncoding::fromUnicodeString(const TQString &s, const TQCString&) TQString CTEncoding::asUnicodeString() { - return TQString::fromLatin1(as7BitString(false)); + return TQString::tqfromLatin1(as7BitString(false)); } //-----</CTEncoding>--------------------------- |